catch2/projects/SelfTest/Makefile
Mateusz Loskot a77c882bbc Update Makefile for SelfTest
This is update to Makefile submitted in PR #141
2013-06-29 00:18:48 +01:00

20 lines
485 B
Makefile

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
OBJECTS = $(patsubst %.cpp, %.o, $(SOURCES))
CXXFLAGS = -I../../include
catch_self_test: $(OBJECTS)
$(CXX) -o $@ $^
clean:
rm -f $(OBJECTS) catch_self_test
check: catch_self_test
./catch_self_test
.PHONY: catch_self_test clean check