2000-09-26 11:48:28 +00:00
|
|
|
|
|
|
|
# very basic makefile for regression tests
|
|
|
|
#
|
|
|
|
# g++ 2.95 and greater
|
|
|
|
#
|
2003-11-02 12:13:16 +00:00
|
|
|
CXX= g++ $(INCLUDES) -L../../../../stage/lib -I../../../../ -I./ $(CXXFLAGS) -L../../build/gcc $(LDFLAGS)
|
2002-09-13 11:52:11 +00:00
|
|
|
#
|
|
|
|
# sources to compile for each test:
|
|
|
|
#
|
|
|
|
SOURCES=tests.cpp parse.cpp regress.cpp ../../../test/src/cpp_main.cpp ../../../test/src/execution_monitor.cpp
|
2000-09-26 11:48:28 +00:00
|
|
|
|
2002-04-24 10:50:23 +00:00
|
|
|
total : gcc_regress
|
2003-05-17 11:45:48 +00:00
|
|
|
export LD_LIBRARY_PATH="../../build/gcc:$LD_LIBRARY_PATH" && ./gcc_regress tests.txt
|
2000-09-26 11:48:28 +00:00
|
|
|
|
2002-09-13 11:52:11 +00:00
|
|
|
gcc_regress : $(SOURCES)
|
|
|
|
$(CXX) -O2 -o gcc_regress $(SOURCES) -lboost_regex $(LIBS)
|
|
|
|
|
|
|
|
debug : $(SOURCES)
|
|
|
|
$(CXX) -g -o gcc_regress $(SOURCES) -lboost_regex_debug $(LIBS)
|
2000-11-16 11:29:03 +00:00
|
|
|
|
2002-04-24 10:50:23 +00:00
|
|
|
|
|
|
|
|
2001-03-03 11:35:37 +00:00
|
|
|
|
2000-10-17 11:29:59 +00:00
|
|
|
|
2000-09-26 11:48:28 +00:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2001-04-10 11:44:47 +00:00
|
|
|
|
2003-05-17 11:45:48 +00:00
|
|
|
|
2003-11-02 12:13:16 +00:00
|
|
|
|
2000-09-26 11:48:28 +00:00
|
|
|
|
|
|
|
|