fetch.o depends on the headers, too.
[gitweb.git] / Makefile
index 64d29f7c1852ccf4b531e6cfca5ad215377d555c..9f2cbe2cb9eb941b0a0d3c7edb7f931fabf6c145 100644 (file)
--- a/Makefile
+++ b/Makefile
@@ -775,7 +775,7 @@ git-http-push$X: revision.o http.o http-push.o $(GITLIBS)
        $(CC) $(ALL_CFLAGS) -o $@ $(ALL_LDFLAGS) $(filter %.o,$^) \
                $(LIBS) $(CURL_LIBCURL) $(EXPAT_LIBEXPAT)
 
-$(LIB_OBJS) $(BUILTIN_OBJS): $(LIB_H)
+$(LIB_OBJS) $(BUILTIN_OBJS) fetch.o: $(LIB_H)
 $(patsubst git-%$X,%.o,$(PROGRAMS)): $(LIB_H) $(wildcard */*.h)
 $(DIFF_OBJS): diffcore.h