SelfTest: refresh makefile
diff --git a/projects/SelfTest/makefile b/projects/SelfTest/makefile
index e5dec0d..458b3de 100644
--- a/projects/SelfTest/makefile
+++ b/projects/SelfTest/makefile
@@ -1,15 +1,16 @@
-SOURCES = ApproxTests.cpp \
- ClassTests.cpp \
- ConditionTests.cpp \
- ExceptionTests.cpp \
- GeneratorTests.cpp \
- MessageTests.cpp \
- MiscTests.cpp \
- TestMain.cpp \
- TrickyTests.cpp \
- BDDTests.cpp \
- VariadicMacrosTests.cpp \
- catch_self_test.cpp
+SOURCES = ApproxTests.cpp \
+ ClassTests.cpp \
+ ConditionTests.cpp \
+ ExceptionTests.cpp \
+ GeneratorTests.cpp \
+ MessageTests.cpp \
+ MiscTests.cpp \
+ TestMain.cpp \
+ TrickyTests.cpp \
+ BDDTests.cpp \
+ VariadicMacrosTests.cpp
+
+
OBJECTS = $(patsubst %.cpp, %.o, $(SOURCES))
CXX = g++
CXXFLAGS = -I../../include
@@ -17,5 +18,9 @@
CatchSelfTest: $(OBJECTS)
$(CXX) -o $@ $^
+test: CatchSelfTest
+ ./CatchSelfTest
+
clean:
- rm -f $(OBJECTS)
+ rm -f $(OBJECTS) CatchSelfTest
+