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 <jrnieder@gmail.com>
Jonathan Nieder committed
Jan 26, 2010 at 09:46 UTC
066ddda6cdf2652a85430a979dbf1cd65fbfad0f
1 file changed
+1
-1
Makefile
+1
-1
@@ -1628,7 +1628,7 @@ http.o: http.c GIT-CFLAGS
1628
$(QUIET_CC)$(CC) -o $*.o -c $(ALL_CFLAGS) -DGIT_USER_AGENT='"git/$(GIT_VERSION)"' $<
1629
1630
ifdef NO_EXPAT
1631
-http-walker.o: http-walker.c http.h GIT-CFLAGS
1631
+http-walker.o: http-walker.c GIT-CFLAGS
1632
$(QUIET_CC)$(CC) -o $*.o -c $(ALL_CFLAGS) -DNO_EXPAT $<
1633
endif
1634