summaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
authorAndy Whitcroft <apw@shadowen.org>2006-10-17 18:08:08 (GMT)
committerJunio C Hamano <junkio@cox.net>2006-10-17 20:07:13 (GMT)
commit17b96be29afd71577374e9deee663120b18eb8f1 (patch)
tree3c4da5457e78ccae2a5aaba62db0ba4a626d297a /Makefile
parent3453f862e1c74e400da67def9b810300ef90c3ac (diff)
downloadgit-17b96be29afd71577374e9deee663120b18eb8f1.zip
git-17b96be29afd71577374e9deee663120b18eb8f1.tar.gz
git-17b96be29afd71577374e9deee663120b18eb8f1.tar.bz2
add proper dependancies on the xdiff source
We are not rebuilding the xdiff library when its header files change. Add dependancies for those to the main Makefile. Signed-off-by: Andy Whitcroft <apw@shadowen.org> Acked-by: Ryan Anderson <ryan@google.com> Signed-off-by: Junio C Hamano <junkio@cox.net>
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile2
1 files changed, 2 insertions, 0 deletions
diff --git a/Makefile b/Makefile
index 2c7c338..66c8b4b 100644
--- a/Makefile
+++ b/Makefile
@@ -760,6 +760,8 @@ $(LIB_FILE): $(LIB_OBJS)
rm -f $@ && $(AR) rcs $@ $(LIB_OBJS)
XDIFF_OBJS=xdiff/xdiffi.o xdiff/xprepare.o xdiff/xutils.o xdiff/xemit.o
+$(XDIFF_OBJS): xdiff/xinclude.h xdiff/xmacros.h xdiff/xdiff.h xdiff/xtypes.h \
+ xdiff/xutils.h xdiff/xprepare.h xdiff/xdiffi.h xdiff/xemit.h
$(XDIFF_LIB): $(XDIFF_OBJS)
rm -f $@ && $(AR) rcs $@ $(XDIFF_OBJS)