Fixed regex makefiles to work nice with the new boost.test lib.

Added tentative VACPP fix.


[SVN r15300]
This commit is contained in:
John Maddock
2002-09-13 11:52:11 +00:00
parent f81bdae7f1
commit d9694bbc1f
10 changed files with 583 additions and 536 deletions

View File

@ -4,15 +4,20 @@
# g++ 2.95 and greater
#
CXX= g++ $(INCLUDES) -I../../../../ -I./ $(CXXFLAGS) -L../../build/gcc $(LDFLAGS)
#
# sources to compile for each test:
#
SOURCES=tests.cpp parse.cpp regress.cpp ../../../test/src/cpp_main.cpp ../../../test/src/execution_monitor.cpp
total : gcc_regress
./gcc_regress tests.txt
gcc_regress : tests.cpp parse.cpp regress.cpp
$(CXX) -O2 -o gcc_regress tests.cpp parse.cpp regress.cpp -lboost_regex $(LIBS)
gcc_regress : $(SOURCES)
$(CXX) -O2 -o gcc_regress $(SOURCES) -lboost_regex $(LIBS)
debug : $(SOURCES)
$(CXX) -g -o gcc_regress $(SOURCES) -lboost_regex_debug $(LIBS)
debug : tests.cpp parse.cpp regress.cpp
$(CXX) -g -o gcc_regress tests.cpp parse.cpp regress.cpp -lboost_regex_debug $(LIBS)