summaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
authorStephen Boyd <bebarino@gmail.com>2011-03-21 02:45:03 -0700
committerJunio C Hamano <gitster@pobox.com>2011-03-21 10:23:02 -0700
commit52d269da7ec66338e733aaf839ce5b8ad6709337 (patch)
tree9702ce4b01a1f394e42fcab3ca0af35df9841a7e /Makefile
parent08c8d5581363998fda2803da2620d47fe8b50f0d (diff)
downloadgit-52d269da7ec66338e733aaf839ce5b8ad6709337.tar.gz
Makefile: Cover more files with make check
After the builtin/ move 'make check' doesn't cover the builtin/ directory. We could just add builtin/*.c but lets just use GIT_OBJS instead so we cover future movement of the source files. Signed-off-by: Stephen Boyd <bebarino@gmail.com> Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile2
1 files changed, 1 insertions, 1 deletions
diff --git a/Makefile b/Makefile
index 654d8ac7e1..97cd1507fa 100644
--- a/Makefile
+++ b/Makefile
@@ -2176,7 +2176,7 @@ check-sha1:: test-sha1$X
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; \