forked from boostorg/regex
48 lines
630 B
Makefile
48 lines
630 B
Makefile
|
|
# very basic makefile for regression tests
|
|
#
|
|
CXX=@CXX@
|
|
CXXFLAGS=@CXXFLAGS@ -I../../../../
|
|
LIBS=@LIBS@ -L../../build -lboost_regex
|
|
EXE=@ac_exe_ext@
|
|
OBJ=@ac_obj_ext@
|
|
|
|
total : @ac_regress@
|
|
|
|
LIBDEP=../../build/libboost_regex.a ../../../../boost/regex/detail/regex_options.hpp ../../../../boost/regex/detail/regex_config.hpp
|
|
|
|
r1$(EXE) :: tests.cpp parse.cpp regress.cpp
|
|
$(CXX) -o r1$(EXE) $(CXXFLAGS) tests.cpp parse.cpp regress.cpp $(LIBS)
|
|
./r1 tests.txt
|
|
|
|
r2$(EXE) :: tests.cpp parse.cpp regress.cpp
|
|
$(CXX) -o r2$(EXE) $(CXXFLAGS) -DTEST_UNICODE tests.cpp parse.cpp regress.cpp $(LIBS)
|
|
./r2 tests.txt
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|