Andrew's git
/
gitweb.git
/ blobdiff
summary
|
log
|
commit
|
diff
|
tree
commit
grep
author
committer
pickaxe
?
re
Makefile dependency fix.
[gitweb.git]
/
Makefile
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)