summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: 7a1894e)
raw | patch | inline | side by side (parent: 7a1894e)
author | Jonathan Nieder <jrnieder@gmail.com> | |
Tue, 26 Jan 2010 15:46:37 +0000 (09:46 -0600) | ||
committer | Jonathan 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>
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 | patch | blob | history |
diff --git a/Makefile b/Makefile
index 8cf6383a9d1649da89378840495614cc7d3374f5..593801ae1cbdaa32f8669f0c481ec0d99bb3a808 100644 (file)
--- a/Makefile
+++ b/Makefile
$(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