forked from boostorg/regex
65 lines
627 B
Makefile
65 lines
627 B
Makefile
|
|
# very basic makefile for regression tests
|
|
#
|
|
# 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
|
|
export LD_LIBRARY_PATH="../../build/gcc:$LD_LIBRARY_PATH" && ./gcc_regress tests.txt
|
|
|
|
gcc_regress : $(SOURCES)
|
|
$(CXX) -O2 -o gcc_regress $(SOURCES) -lboost_regex $(LIBS)
|
|
|
|
debug : $(SOURCES)
|
|
$(CXX) -g -o gcc_regress $(SOURCES) -lboost_regex_debug $(LIBS)
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|