summaryrefslogtreecommitdiffstats
path: root/configure
diff options
context:
space:
mode:
authorMåns Rullgård <mans@mansr.com>2009-08-08 18:27:22 +0000
committerMåns Rullgård <mans@mansr.com>2009-08-08 18:27:22 +0000
commitc1c3933a98133bebbcaf1e0a0883ced9d9bcda1c (patch)
treeb06732b72035f297d4ca07fd61b271dc99a4d356 /configure
parent0bf18ed32d608204e6e852c23b61f21118d7cb1a (diff)
downloadffmpeg-streaming-c1c3933a98133bebbcaf1e0a0883ced9d9bcda1c.zip
ffmpeg-streaming-c1c3933a98133bebbcaf1e0a0883ced9d9bcda1c.tar.gz
Generate dependencies when object files are built
Originally committed as revision 19608 to svn://svn.ffmpeg.org/ffmpeg/trunk
Diffstat (limited to 'configure')
-rwxr-xr-xconfigure2
1 files changed, 1 insertions, 1 deletions
diff --git a/configure b/configure
index 5674b4e..3e92424 100755
--- a/configure
+++ b/configure
@@ -1309,7 +1309,7 @@ target_path='.'
# gcc stupidly only outputs the basename of targets with -MM, but we need the
# full relative path for objects in subdirectories for non-recursive Make.
-DEPEND_CMD='$(DEPCC) $(DEPFLAGS) $< | sed -e "/^\#.*/d" -e "s,^[[:space:]]*$(*F)\\.o,$(@D)/$(*F).o," > $@'
+DEPEND_CMD='$(DEPCC) $(DEPFLAGS) $< | sed -e "/^\#.*/d" -e "s,^[[:space:]]*$(*F)\\.o,$(@D)/$(*F).o," > $(@:.o=.d)'
DEPFLAGS='$(CPPFLAGS) $(CFLAGS) -MM'
# find source path
OpenPOWER on IntegriCloud