catch2/projects/SelfTest/makefile

24 lines
575 B
Makefile
Raw Normal View History

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