aboutsummaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
authorJunio C Hamano <junkio@cox.net>2006-04-21 21:56:13 -0700
committerJunio C Hamano <junkio@cox.net>2006-04-21 21:56:31 -0700
commit08df61713c89be4086b1930ef6b9e46ccf38928d (patch)
treecb4872913d80faf299533f391bb68e8564d42d1a /Makefile
parent70827b15bfb11f7aea52c6995956be9d149233e1 (diff)
downloadgit-08df61713c89be4086b1930ef6b9e46ccf38928d.tar.gz
git-08df61713c89be4086b1930ef6b9e46ccf38928d.tar.xz
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>
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile2
1 files changed, 2 insertions, 0 deletions
diff --git a/Makefile b/Makefile
index a83c5029f..d9a3a82fe 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 $@