# HG changeset patch # User mas01cr # Date 1190884534 0 # Node ID 7da3a33d6674f5fa9b779ba954b8170e5f8c316e # Parent 749cc091d99fb3a6b8567bf6a40890cb0406f361 Makefile improvements: new test target and .PHONY declarations diff -r 749cc091d99f -r 7da3a33d6674 Makefile --- a/Makefile Thu Sep 27 07:42:24 2007 +0000 +++ b/Makefile Thu Sep 27 09:15:34 2007 +0000 @@ -3,6 +3,8 @@ EXECUTABLE=audioDB +.PHONY: all clean test + all: ${EXECUTABLE} ${EXECUTABLE}.1: ${EXECUTABLE} @@ -28,3 +30,6 @@ -rm README.txt -rm ${EXECUTABLE} ${EXECUTABLE}.1 audioDB.o -sh -c "cd tests && sh ./clean.sh" + +test: + -sh -c "cd tests && sh ./run-tests.sh"