author | Junio C Hamano <gitster@pobox.com> | |
Sat, 2 Apr 2011 00:50:20 +0000 (17:50 -0700) | ||
committer | Junio C Hamano <gitster@pobox.com> | |
Sat, 2 Apr 2011 00:50:20 +0000 (17:50 -0700) |
* sb/sparse-more:
Makefile: Cover more files with make check
Makefile: Cover more files with make check
Makefile | patch | blob | history |
diff --git a/Makefile b/Makefile
index b0f155ab305d1795ada45060460c52594e7a366a..92c1c5e23b96f8bed1b1ac2dbff6c05580ecf678 100644 (file)
--- a/Makefile
+++ b/Makefile
check: common-cmds.h
if sparse; \
then \
- for i in *.c; \
+ for i in $(patsubst %.o, %.c, $(GIT_OBJS)); \
do \
sparse $(ALL_CFLAGS) $(SPARSE_FLAGS) $$i || exit; \
done; \