@matheusbsbs / matheus-bagliano / commits / 7c4c9f4cd9
Fork 0

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>

René Scharfe committed Jan 4, 2007 at 19:33 UTC 7c4c9f4cd9c36694ce0de5674f263585064cceec
1 file changed +1 -1
Makefile
+1 -1
@@ -818,7 +818,7 @@ test-sha1$X: test-sha1.o $(GITLIBS)
818 check-sha1:: test-sha1$X
819 ./test-sha1.sh
820
821 -check:
821 +check: common-cmds.h
822 for i in *.c; do sparse $(ALL_CFLAGS) $(SPARSE_FLAGS) $$i || exit; done
823
824