aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJunio C Hamano <junkio@cox.net>2005-08-08 15:58:54 -0700
committerJunio C Hamano <junkio@cox.net>2005-08-08 17:52:51 -0700
commit3c4e8a636f4de3668b24d0020df731cdc78ae6e9 (patch)
tree8fdc2c87cb1479797791f67e686b706668847517
parentd59a6043a8a7aed97c684fb4f14fe5221df1fcaf (diff)
downloadgit-3c4e8a636f4de3668b24d0020df731cdc78ae6e9.tar.gz
git-3c4e8a636f4de3668b24d0020df731cdc78ae6e9.tar.xz
Makefile dependency fix.
Johannes Schindelin noticed that recent Makefile updates were too eager to loosen dependencies. Signed-off-by: Junio C Hamano <junkio@cox.net>
-rw-r--r--Makefile1
1 files changed, 1 insertions, 0 deletions
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)