forked from boostorg/regex
47 lines
611 B
Makefile
47 lines
611 B
Makefile
|
|
# very basic makefile for regression tests
|
|
#
|
|
CXX=@CXX@
|
|
CXXFLAGS=@CXXFLAGS@ -I../../../../
|
|
LIBS=@LIBS@ -L../../lib -lregex++
|
|
EXE=@ac_exe_ext@
|
|
OBJ=@ac_obj_ext@
|
|
|
|
total : @ac_regress@
|
|
|
|
LIBDEP=../../lib/libregex++.a ../../../../boost/re_detail/regex_options.hpp ../../../../boost/re_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
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|