From: Junio C Hamano Date: Mon, 8 Aug 2005 22:58:54 +0000 (-0700) Subject: Makefile dependency fix. X-Git-Tag: v0.99.4~6^2 X-Git-Url: https://asedeno.scripts.mit.edu/gitweb/?a=commitdiff_plain;h=3c4e8a636f4de3668b24d0020df731cdc78ae6e9;p=git.git Makefile dependency fix. Johannes Schindelin noticed that recent Makefile updates were too eager to loosen dependencies. Signed-off-by: Junio C Hamano --- diff --git a/Makefile b/Makefile index 072d4267b..3335d1add 100644 --- a/Makefile +++ b/Makefile @@ -172,6 +172,7 @@ init-db.o: init-db.c $(CC) -c $(CFLAGS) -DDEFAULT_GIT_TEMPLATE_DIR='"$(template_dir)"' $*.c $(LIB_OBJS): $(LIB_H) +$(patsubst git-%,%.o,$(PROG)): $(LIB_H) $(DIFF_OBJS): diffcore.h $(LIB_FILE): $(LIB_OBJS)