From: René Scharfe Date: Thu, 04 Jan 2007 18:33:48 GMT Subject: [PATCH] Make check target depend on common-cmds.h Message-ID: <459D488C.7020907@lsrfire.ath.cx> This fixes sparse complaining about a missing include file if 'make check' is run on clean sources. Signed-off-by: Rene Scharfe --- Makefile | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/Makefile b/Makefile index fa1a022..180e1e0 100644 --- a/Makefile +++ b/Makefile @@ -818,7 +818,7 @@ test-sha1$X: test-sha1.o $(GITLIBS) check-sha1:: test-sha1$X ./test-sha1.sh -check: +check: common-cmds.h for i in *.c; do sparse $(ALL_CFLAGS) $(SPARSE_FLAGS) $$i || exit; done