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>
Andy Whitcroft committed
Oct 17, 2006 at 19:08 UTC
17b96be29afd71577374e9deee663120b18eb8f1
1 file changed
+2
Makefile
+2
@@ -760,6 +760,8 @@ $(LIB_FILE): $(LIB_OBJS)
760
rm -f $@ && $(AR) rcs $@ $(LIB_OBJS)
761
762
XDIFF_OBJS=xdiff/xdiffi.o xdiff/xprepare.o xdiff/xutils.o xdiff/xemit.o
763
+$(XDIFF_OBJS): xdiff/xinclude.h xdiff/xmacros.h xdiff/xdiff.h xdiff/xtypes.h \
764
+ xdiff/xutils.h xdiff/xprepare.h xdiff/xdiffi.h xdiff/xemit.h
765
766
$(XDIFF_LIB): $(XDIFF_OBJS)
767
rm -f $@ && $(AR) rcs $@ $(XDIFF_OBJS)