From: Junio C Hamano Date: Sat, 22 Apr 2006 04:56:13 +0000 (-0700) Subject: Makefile: dependency for builtin-help.o X-Git-Tag: v1.4.0-rc1~226 X-Git-Url: https://git.verplant.org/?a=commitdiff_plain;h=08df61713c89be4086b1930ef6b9e46ccf38928d;p=git.git 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 --- diff --git a/Makefile b/Makefile index a83c5029..d9a3a82f 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 $@