catch2/projects/SelfTest/Makefile

20 lines
469 B
Makefile
Raw Normal View History

SOURCES = ApproxTests.cpp BDDTests.cpp catch_self_test.cpp ClassTests.cpp \
CmdLineTests.cpp ConditionTests.cpp ExceptionTests.cpp GeneratorTests.cpp \
MessageTests.cpp MiscTests.cpp TestMain.cpp TrickyTests.cpp \
VariadicMacrosTests.cpp
2012-11-21 22:45:03 +01:00
OBJECTS = $(patsubst %.cpp, %.o, $(SOURCES))
CXXFLAGS = -I../../include
catch_self_test: $(OBJECTS)
2012-11-21 22:45:03 +01:00
$(CXX) -o $@ $^
clean:
$(RM) $(OBJECTS) catch_self_test
check: catch_self_test
./catch_self_test
2012-11-21 22:45:03 +01:00
2013-07-15 15:38:58 +02:00
.PHONY: clean check