summaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
authorJonathan Nieder <jrnieder@gmail.com>2010-01-26 09:46:37 -0600
committerJonathan Nieder <jrnieder@gmail.com>2010-01-26 10:07:34 -0600
commit066ddda6cdf2652a85430a979dbf1cd65fbfad0f (patch)
treeb7de16d18229addbb04ef9aebf91e374f76814e7 /Makefile
parent7a1894e3039bc554e2a193c895b2ab5300b7f823 (diff)
downloadgit-066ddda6cdf2652a85430a979dbf1cd65fbfad0f.tar.gz
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>
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile2
1 files changed, 1 insertions, 1 deletions
diff --git a/Makefile b/Makefile
index 8cf6383a9d..593801ae1c 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