From: Andy Whitcroft Date: Tue, 17 Oct 2006 18:08:08 +0000 (+0100) Subject: add proper dependancies on the xdiff source X-Git-Tag: v1.4.3~1 X-Git-Url: https://git.tokkee.org/?a=commitdiff_plain;h=17b96be29afd71577374e9deee663120b18eb8f1;p=git.git 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 Acked-by: Ryan Anderson Signed-off-by: Junio C Hamano --- diff --git a/Makefile b/Makefile index 2c7c33855..66c8b4b12 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)