]> rtime.felk.cvut.cz Git - git.git/commitdiff
Makefile: clean up http-walker.o dependency rules
authorJonathan Nieder <jrnieder@gmail.com>
Tue, 26 Jan 2010 15:46:37 +0000 (09:46 -0600)
committerJonathan Nieder <jrnieder@gmail.com>
Tue, 26 Jan 2010 16:07:34 +0000 (10:07 -0600)
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

index 8cf6383a9d1649da89378840495614cc7d3374f5..593801ae1cbdaa32f8669f0c481ec0d99bb3a808 100644 (file)
--- 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