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).
This commit is contained in:
Carl Worth 2010-05-13 10:45:32 -07:00
parent 27bc8930ba
commit 462cce1852

View file

@ -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: