aboutsummaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
authorRené Scharfe <rene.scharfe@lsrfire.ath.cx>2007-01-04 19:33:48 +0100
committerJunio C Hamano <junkio@cox.net>2007-01-04 22:28:46 -0800
commit7c4c9f4cd9c36694ce0de5674f263585064cceec (patch)
tree57bd3b381677d86761b42f75c5e4257516a5224b /Makefile
parent3a2d3e8678a01e327c8e6c851ed6d2cfd3c21aaf (diff)
downloadgit-7c4c9f4cd9c36694ce0de5674f263585064cceec.tar.gz
git-7c4c9f4cd9c36694ce0de5674f263585064cceec.tar.xz
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 <rene.scharfe@lsrfire.ath.cx> Signed-off-by: Junio C Hamano <junkio@cox.net>
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile2
1 files changed, 1 insertions, 1 deletions
diff --git a/Makefile b/Makefile
index fa1a02289..180e1e0b9 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