catch2/projects/SelfTest/makefile

27 lines
526 B
Makefile
Raw Normal View History

2014-09-01 18:19:59 +02:00
SOURCES = ApproxTests.cpp \
ClassTests.cpp \
ConditionTests.cpp \
ExceptionTests.cpp \
GeneratorTests.cpp \
MessageTests.cpp \
MiscTests.cpp \
TestMain.cpp \
TrickyTests.cpp \
BDDTests.cpp \
VariadicMacrosTests.cpp
OBJECTS = $(patsubst %.cpp, %.o, $(SOURCES))
CXX = g++
CXXFLAGS = -I../../include
CatchSelfTest: $(OBJECTS)
$(CXX) -o $@ $^
2014-09-01 18:19:59 +02:00
test: CatchSelfTest
./CatchSelfTest
clean:
2014-09-01 18:19:59 +02:00
rm -f $(OBJECTS) CatchSelfTest