Code

Makefile: dependency for builtin-help.o
authorJunio C Hamano <junkio@cox.net>
Sat, 22 Apr 2006 04:56:13 +0000 (21:56 -0700)
committerJunio C Hamano <junkio@cox.net>
Sat, 22 Apr 2006 04:56:31 +0000 (21:56 -0700)
builtin-help.c wants to include common-cmds.h which is a
generated file.

Signed-off-by: Junio C Hamano <junkio@cox.net>
Makefile

index a83c5029f468b74e50da489451a6b6449d800a8b..d9a3a82fe2afa2bb477d65f082b6348ed678e955 100644 (file)
--- 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 $@