catch2/projects/SelfTest/Makefile

16 lines
357 B
Makefile
Raw Normal View History

2012-11-21 22:45:03 +01:00
SOURCES = ApproxTests.cpp ClassTests.cpp ConditionTests.cpp \
ExceptionTests.cpp GeneratorTests.cpp MessageTests.cpp \
MiscTests.cpp TestMain.cpp TrickyTests.cpp \
catch_self_test.cpp
OBJECTS = $(patsubst %.cpp, %.o, $(SOURCES))
CXXFLAGS = -I../../include
main: $(OBJECTS)
$(CXX) -o $@ $^
clean:
2012-12-03 16:05:24 +01:00
rm -f $(OBJECTS) main
2012-11-21 22:45:03 +01:00
2012-12-03 16:05:24 +01:00
.PHONY: main clean