SelfTest: refresh makefile

This commit is contained in:
Andy Sawyer 2014-09-01 17:19:59 +01:00
parent 341a9c4443
commit 000e746415

View File

@ -8,8 +8,9 @@ SOURCES = ApproxTests.cpp \
TestMain.cpp \ TestMain.cpp \
TrickyTests.cpp \ TrickyTests.cpp \
BDDTests.cpp \ BDDTests.cpp \
VariadicMacrosTests.cpp \ VariadicMacrosTests.cpp
catch_self_test.cpp
OBJECTS = $(patsubst %.cpp, %.o, $(SOURCES)) OBJECTS = $(patsubst %.cpp, %.o, $(SOURCES))
CXX = g++ CXX = g++
CXXFLAGS = -I../../include CXXFLAGS = -I../../include
@ -17,5 +18,9 @@ CXXFLAGS = -I../../include
CatchSelfTest: $(OBJECTS) CatchSelfTest: $(OBJECTS)
$(CXX) -o $@ $^ $(CXX) -o $@ $^
test: CatchSelfTest
./CatchSelfTest
clean: clean:
rm -f $(OBJECTS) rm -f $(OBJECTS) CatchSelfTest