From: Junio C Hamano Date: Thu, 22 Jun 2006 22:43:47 +0000 (-0700) Subject: Makefile: do not recompile main programs when libraries have changed. X-Git-Tag: v1.4.1-rc2~35 X-Git-Url: https://git.tokkee.org/?a=commitdiff_plain;h=1f330269371cc77b7abfcc99c7b15ad7b86f09c9;p=git.git Makefile: do not recompile main programs when libraries have changed. Signed-off-by: Junio C Hamano --- diff --git a/Makefile b/Makefile index a5b67849b..e29e3fa38 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)