catch2/projects/SelfTest/makefile

35 lines
780 B
Makefile
Raw Normal View History

2014-09-01 18:19:59 +02:00
SOURCES = ApproxTests.cpp \
BDDTests.cpp \
2014-09-01 18:19:59 +02:00
ClassTests.cpp \
CmdLineTests.cpp \
2014-09-01 18:19:59 +02:00
ConditionTests.cpp \
EnumToString.cpp \
2014-09-01 18:19:59 +02:00
ExceptionTests.cpp \
GeneratorTests.cpp \
MessageTests.cpp \
MiscTests.cpp \
PartTrackerTests.cpp \
TagAliasTests.cpp \
2014-09-01 18:19:59 +02:00
TestMain.cpp \
2014-09-01 19:09:37 +02:00
ToStringPair.cpp \
ToStringTuple.cpp \
2014-09-01 19:09:37 +02:00
ToStringVector.cpp \
ToStringWhich.cpp \
TrickyTests.cpp \
VariadicMacrosTests.cpp \
2014-09-01 18:19:59 +02:00
OBJECTS = $(patsubst %.cpp, %.o, $(SOURCES))
CXX = g++
CXXFLAGS = -I../../include -std=c++11
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