From: René Scharfe Date: Thu, 4 Jan 2007 18:33:48 +0000 (+0100) Subject: Make check target depend on common-cmds.h X-Git-Tag: v1.5.0-rc1~94 X-Git-Url: https://git.lorimer.id.au/gitweb.git/diff_plain/7c4c9f4cd9c36694ce0de5674f263585064cceec?hp=--cc Make check target depend on common-cmds.h This fixes sparse complaining about a missing include file if 'make check' is run on clean sources. Signed-off-by: Rene Scharfe Signed-off-by: Junio C Hamano --- 7c4c9f4cd9c36694ce0de5674f263585064cceec diff --git a/Makefile b/Makefile index fa1a02289c..180e1e0b94 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