catch2/projects/SelfTest/makefile

31 lines
656 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 \
2014-09-01 19:09:37 +02:00
EnumToString.cpp \
ToStringPair.cpp \
ToStringVector.cpp \
ToStringWhich.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