projects
/
git.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
d59a604
)
Makefile dependency fix.
author
Junio C Hamano
<junkio@cox.net>
Mon, 8 Aug 2005 22:58:54 +0000
(15:58 -0700)
committer
Junio C Hamano
<junkio@cox.net>
Tue, 9 Aug 2005 00:52:51 +0000
(17:52 -0700)
Johannes Schindelin noticed that recent Makefile updates were
too eager to loosen dependencies.
Signed-off-by: Junio C Hamano <junkio@cox.net>
Makefile
patch
|
blob
|
history
diff --git
a/Makefile
b/Makefile
index 072d4267b6d9f0c2b46d75a15f935120b5b3bbec..3335d1adda5ef98498c91853db8d6a43c4a73144 100644
(file)
--- 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)