[PATCH 4/5] Makefile: clean up http-walker.o dependency rules
- From
Jonathan Nieder <jrnieder@gmail.com>
- Date
- Jan 23, 2010, 14:45 UTC
- Message-ID
- <20100123144510.GE11903@progeny.tock>
- In-Reply-To
- <20100123144201.GA11903@progeny.tock>
http-walker.o depends on http.h twice: once in the rule listing files that use http.h, and again in the rule explaining how to build it. Messy.
Signed-off-by: Jonathan Nieder <jrnieder@gmail.com> --- Makefile | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/Makefile b/Makefile index 7da52a3..eb225c6 100644 --- a/Makefile +++ b/Makefile @@ -1628,7 +1628,7 @@ http.o: http.c GIT-CFLAGS $(QUIET_CC)$(CC) -o $*.o -c $(ALL_CFLAGS) -DGIT_USER_AGENT='"git/$(GIT_VERSION)"' $< ifdef NO_EXPAT -http-walker.o: http-walker.c http.h GIT-CFLAGS +http-walker.o: http-walker.c GIT-CFLAGS $(QUIET_CC)$(CC) -o $*.o -c $(ALL_CFLAGS) -DNO_EXPAT $< endif
-- 1.6.6.rc2