2013-06-29 01:18:48 +02:00
|
|
|
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
|
|
|
|
|
2013-06-29 01:18:48 +02:00
|
|
|
catch_self_test: $(OBJECTS)
|
2012-11-21 22:45:03 +01:00
|
|
|
$(CXX) -o $@ $^
|
|
|
|
|
|
|
|
clean:
|
2013-07-15 15:40:52 +02:00
|
|
|
$(RM) $(OBJECTS) catch_self_test
|
2013-06-29 01:18:48 +02:00
|
|
|
|
|
|
|
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
|