summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJunio C Hamano <junkio@cox.net>2006-06-22 22:43:47 (GMT)
committerJunio C Hamano <junkio@cox.net>2006-06-22 23:20:54 (GMT)
commit1f330269371cc77b7abfcc99c7b15ad7b86f09c9 (patch)
treed801f5bd6b23512f1a4a7812a041c51a219b2a3d
parentf60349aa786d519368938d7b6e5bb2006eccb0cf (diff)
downloadgit-1f330269371cc77b7abfcc99c7b15ad7b86f09c9.zip
git-1f330269371cc77b7abfcc99c7b15ad7b86f09c9.tar.gz
git-1f330269371cc77b7abfcc99c7b15ad7b86f09c9.tar.bz2
Makefile: do not recompile main programs when libraries have changed.
Signed-off-by: Junio C Hamano <junkio@cox.net>
-rw-r--r--Makefile2
1 files changed, 1 insertions, 1 deletions
diff --git a/Makefile b/Makefile
index a5b6784..e29e3fa 100644
--- a/Makefile
+++ b/Makefile
@@ -582,7 +582,7 @@ git-http-push$X: revision.o http.o http-push.o $(LIB_FILE)
$(LIBS) $(CURL_LIBCURL) $(EXPAT_LIBEXPAT)
$(LIB_OBJS) $(BUILTIN_OBJS): $(LIB_H)
-$(patsubst git-%$X,%.o,$(PROGRAMS)): $(GITLIBS)
+$(patsubst git-%$X,%.o,$(PROGRAMS)): $(LIB_H) $(wildcard */*.h)
$(DIFF_OBJS): diffcore.h
$(LIB_FILE): $(LIB_OBJS)