catch2/projects/SelfTest/makefile
2014-02-20 15:49:51 +00:00

22 lines
495 B
Makefile

SOURCES = ApproxTests.cpp \
BDDTests.cpp \
ClassTests.cpp \
CmdLineTests.cpp \
ConditionTests.cpp \
ExceptionTests.cpp \
GeneratorTests.cpp \
MessageTests.cpp \
MiscTests.cpp \
TestMain.cpp \
TrickyTests.cpp \
VariadicMacrosTests.cpp
OBJECTS = $(patsubst %.cpp, %.o, $(SOURCES))
CXX = g++
CXXFLAGS = -I../../include
CatchSelfTest: $(OBJECTS)
$(CXX) -o $@ $^
clean:
rm -f CatchSelfTest CatchSelfTest.exe $(OBJECTS)