summaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
authorJunio C Hamano <junkio@cox.net>2005-08-08 22:58:54 (GMT)
committerJunio C Hamano <junkio@cox.net>2005-08-09 00:52:51 (GMT)
commit3c4e8a636f4de3668b24d0020df731cdc78ae6e9 (patch)
tree8fdc2c87cb1479797791f67e686b706668847517 /Makefile
parentd59a6043a8a7aed97c684fb4f14fe5221df1fcaf (diff)
downloadgit-3c4e8a636f4de3668b24d0020df731cdc78ae6e9.zip
git-3c4e8a636f4de3668b24d0020df731cdc78ae6e9.tar.gz
git-3c4e8a636f4de3668b24d0020df731cdc78ae6e9.tar.bz2
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>
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile1
1 files changed, 1 insertions, 0 deletions
diff --git a/Makefile b/Makefile
index 072d426..3335d1a 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)