changeset 26278:9912d8f272ae

Add DEPEND_CMD to config.mak (sync with FFmpeg).
author diego
date Mon, 31 Mar 2008 17:27:01 +0000
parents 644426c3261c
children c7508e9f9b8c
files configure
diffstat 1 files changed, 2 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/configure	Mon Mar 31 17:19:51 2008 +0000
+++ b/configure	Mon Mar 31 17:27:01 2008 +0000
@@ -7877,6 +7877,8 @@
 CONFIG_SWSCALE=yes
 CONFIG_ZLIB=$_zlib
 
+DEPEND_CMD='$(CC) -MM $(CFLAGS) $(filter-out %.h,$^) | sed "s,[0-9a-z._-]*: \($(SRC_DIR)/\)*\([a-z0-9]*/\)[^/]* ,\\2&,"'
+
 HAVE_PTHREADS = $_pthreads
 HAVE_W32THREADS = $_w32threads
 HAVE_XVMC = $_xvmc