From 4952dbf19a71e64af191e9a91683e35d1839805d Mon Sep 17 00:00:00 2001 From: diego Date: Sat, 12 Jul 2008 08:23:10 +0000 Subject: [PATCH] Dependency files should be refreshed when object files are rebuilt. Express this with Makefile syntax instead of in the dependency file generation command. git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@27268 b3059339-0415-0410-9bf9-f77b7e298cf2 --- Makefile | 1 + configure | 4 ++-- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/Makefile b/Makefile index 98bf794836..6beffe562e 100644 --- a/Makefile +++ b/Makefile @@ -774,6 +774,7 @@ version.h: ./version.sh `$(CC) -dumpversion` %(EXESUF): %.c +%.o: %.d diff --git a/configure b/configure index f3954135c4..bb9a950db1 100755 --- a/configure +++ b/configure @@ -7816,8 +7816,8 @@ HAVE_XVMC = $_xvmc DEPEND_CMD = \$(CC) -MM \$(CFLAGS) \$(filter-out %.h,\$^) | sed "s,[0-9a-z._-]*: \(\$(SRC_DIR)/\)*\([a-z0-9]*/\)[^/]* ,\\2&," -MPDEPEND_CMD = \$(CC) -MM \$(CFLAGS) \$(filter-out %.h,$^) | sed -e "s,[0-9a-z._-]*: \([a-z0-9/]*/\)[^/]* ,\1&," -e "s,\(.*\)\.o: ,\1.d &," -MPDEPEND_CMD_CXX = \$(CC) -MM \$(CXXFLAGS) \$(filter-out %.h,$^) | sed -e "s,[0-9a-z._-]*: \([a-z0-9/]*/\)[^/]* ,\1&," -e "s,\(.*\)\.o: ,\1.d &," +MPDEPEND_CMD = \$(CC) -MM \$(CFLAGS) \$(filter-out %.h,$^) | sed -e "s,[0-9a-z._-]*: \([a-z0-9/]*/\)[^/]* ,\1&," +MPDEPEND_CMD_CXX = \$(CC) -MM \$(CXXFLAGS) \$(filter-out %.h,$^) | sed -e "s,[0-9a-z._-]*: \([a-z0-9/]*/\)[^/]* ,\1&," EOF