catch2/projects/SelfTest/makefile

22 lines
495 B
Makefile
Raw Normal View History

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