From: Carl Worth Date: Thu, 13 May 2010 17:45:32 +0000 (-0700) Subject: Makefile: Make "make test" depend on the main program. X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=462cce1852c80a2d71bfec1a2ead10fe0a9e2486;p=mesa.git 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). --- diff --git a/Makefile b/Makefile index c5472a86b3c..550945abd30 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: