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.lorimer.id.au/gitweb.git/diff_plain/08df61713c89be4086b1930ef6b9e46ccf38928d?hp=--cc 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 --- 08df61713c89be4086b1930ef6b9e46ccf38928d diff --git a/Makefile b/Makefile index a83c5029f4..d9a3a82fe2 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 $@