summaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
authorCarl Worth <cworth@cworth.org>2010-05-13 10:45:32 -0700
committerCarl Worth <cworth@cworth.org>2010-05-14 09:20:13 -0700
commit462cce1852c80a2d71bfec1a2ead10fe0a9e2486 (patch)
tree71b212e6d8ba53b80b91ad9c82bbdf484d01ab57 /Makefile
parent27bc8930ba9ba67f2de29a03232a948316409ded (diff)
Makefile: Make "make test" depend on the main program.
Otherwise, running "make test" can run an old version of the code, (even when new changes are sitting in the source waiting to be compiled).
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile2
1 files changed, 1 insertions, 1 deletions
diff --git a/Makefile b/Makefile
index c5472a8..550945a 100644
--- a/Makefile
+++ b/Makefile
@@ -17,7 +17,7 @@ glcpp: glcpp.o glcpp-lex.o glcpp-parse.o hash_table.o xtalloc.o
glcpp-lex.c: glcpp-parse.h
-test:
+test: glcpp
@(cd tests; ./glcpp-test)
clean: