From: Jonathan Nieder Date: Tue, 26 Jan 2010 15:46:37 +0000 (-0600) Subject: Makefile: clean up http-walker.o dependency rules X-Git-Tag: v1.7.1-rc0~118^2~12 X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=066ddda6cdf2652a85430a979dbf1cd65fbfad0f;p=git.git Makefile: clean up http-walker.o dependency rules 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 --- diff --git a/Makefile b/Makefile index 8cf6383a9..593801ae1 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