[PATCH 1/4] Makefile: fix http-push.o dependencies
- From
Jonathan Nieder <jrnieder@gmail.com>
- Date
- Nov 28, 2009, 11:31 UTC
- Message-ID
- <20091128113115.GB10059@progeny.tock>
- In-Reply-To
- <20091128112546.GA10059@progeny.tock>
Since it is not in LIB_OBJS, http-push.o needs an explicit $(GIT_H) dependency.
Signed-off-by: Jonathan Nieder <jrnieder@gmail.com> --- http-push.c begins:
#include "cache.h" #include "commit.h"
Makefile | 4 +--- 1 files changed, 1 insertions(+), 3 deletions(-)
diff --git a/Makefile b/Makefile index 856ba09..dc7c929 100644 --- a/Makefile +++ b/Makefile @@ -1557,9 +1557,7 @@ git-imap-send$X: imap-send.o $(GITLIBS) $(QUIET_LINK)$(CC) $(ALL_CFLAGS) -o $@ $(ALL_LDFLAGS) $(filter %.o,$^) \ $(LIBS) $(OPENSSL_LINK) $(OPENSSL_LIBSSL) -http.o http-walker.o http-push.o: http.h - -http.o http-walker.o: $(LIB_H) +http.o http-walker.o http-push.o: http.h $(LIB_H) git-http-fetch$X: revision.o http.o http-walker.o http-fetch.o $(GITLIBS) $(QUIET_LINK)$(CC) $(ALL_CFLAGS) -o $@ $(ALL_LDFLAGS) $(filter %.o,$^) \
-- 1.6.5.3