@matheusbsbs / matheus-bagliano / commits / 1f33026937
Fork 0

Makefile: do not recompile main programs when libraries have changed.

Signed-off-by: Junio C Hamano <junkio@cox.net>

Junio C Hamano committed Jun 22, 2006 at 15:43 UTC 1f330269371cc77b7abfcc99c7b15ad7b86f09c9
1 file changed +1 -1
Makefile
+1 -1
@@ -582,7 +582,7 @@ git-http-push$X: revision.o http.o http-push.o $(LIB_FILE)
582 $(LIBS) $(CURL_LIBCURL) $(EXPAT_LIBEXPAT)
583
584 $(LIB_OBJS) $(BUILTIN_OBJS): $(LIB_H)
585 -$(patsubst git-%$X,%.o,$(PROGRAMS)): $(GITLIBS)
585 +$(patsubst git-%$X,%.o,$(PROGRAMS)): $(LIB_H) $(wildcard */*.h)
586 $(DIFF_OBJS): diffcore.h
587
588 $(LIB_FILE): $(LIB_OBJS)