From 08df61713c89be4086b1930ef6b9e46ccf38928d Mon Sep 17 00:00:00 2001 From: Junio C Hamano Date: Fri, 21 Apr 2006 21:56:13 -0700 Subject: 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 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 $@ -- cgit v0.10.2-6-g49f6