mirror of
https://github.com/mpv-player/mpv
synced 2025-01-20 21:07:29 +01:00
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
This commit is contained in:
parent
b16d3fd6c2
commit
4952dbf19a
1
Makefile
1
Makefile
@ -774,6 +774,7 @@ version.h:
|
||||
./version.sh `$(CC) -dumpversion`
|
||||
|
||||
%(EXESUF): %.c
|
||||
%.o: %.d
|
||||
|
||||
|
||||
|
||||
|
4
configure
vendored
4
configure
vendored
@ -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
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user