| 1 |
SOURCES = ApproxTests.cpp \ |
| 2 |
ClassTests.cpp \ |
| 3 |
ConditionTests.cpp \ |
| 4 |
ExceptionTests.cpp \ |
| 5 |
GeneratorTests.cpp \ |
| 6 |
MessageTests.cpp \ |
| 7 |
MiscTests.cpp \ |
| 8 |
TestMain.cpp \ |
| 9 |
TrickyTests.cpp \ |
| 10 |
BDDTests.cpp \ |
| 11 |
VariadicMacrosTests.cpp \ |
| 12 |
EnumToString.cpp \ |
| 13 |
ToStringPair.cpp \ |
| 14 |
ToStringVector.cpp \ |
| 15 |
ToStringWhich.cpp |
| 16 |
|
| 17 |
|
| 18 |
OBJECTS = $(patsubst %.cpp, %.o, $(SOURCES)) |
| 19 |
CXX = g++ |
| 20 |
CXXFLAGS = -I../../include -std=c++11 |
| 21 |
|
| 22 |
CatchSelfTest: $(OBJECTS) |
| 23 |
$(CXX) -o $@ $^ |
| 24 |
|
| 25 |
test: CatchSelfTest |
| 26 |
./CatchSelfTest |
| 27 |
|
| 28 |
clean: |
| 29 |
rm -f $(OBJECTS) CatchSelfTest |
| 30 |
|