summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJunio C Hamano <junkio@cox.net>2006-04-22 04:56:13 (GMT)
committerJunio C Hamano <junkio@cox.net>2006-04-22 04:56:31 (GMT)
commit08df61713c89be4086b1930ef6b9e46ccf38928d (patch)
treecb4872913d80faf299533f391bb68e8564d42d1a
parent70827b15bfb11f7aea52c6995956be9d149233e1 (diff)
downloadgit-08df61713c89be4086b1930ef6b9e46ccf38928d.zip
git-08df61713c89be4086b1930ef6b9e46ccf38928d.tar.gz
git-08df61713c89be4086b1930ef6b9e46ccf38928d.tar.bz2
Makefile: dependency for builtin-help.o
builtin-help.c wants to include common-cmds.h which is a generated file. Signed-off-by: Junio C Hamano <junkio@cox.net>
-rw-r--r--Makefile2
1 files changed, 2 insertions, 0 deletions
diff --git a/Makefile b/Makefile
index a83c502..d9a3a82 100644
--- a/Makefile
+++ b/Makefile
@@ -470,6 +470,8 @@ git$X: git.c common-cmds.h $(BUILTIN_OBJS) $(GITLIBS)
$(ALL_CFLAGS) -o $@ $(filter %.c,$^) \
$(BUILTIN_OBJS) $(ALL_LDFLAGS) $(LIBS)
+builtin-help.o: common-cmds.h
+
$(BUILT_INS): git$X
rm -f $@ && ln git$X $@