aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDiego Biurrun <diego@biurrun.de>2008-03-12 09:42:36 +0000
committerDiego Biurrun <diego@biurrun.de>2008-03-12 09:42:36 +0000
commitf63b6dc0ff386d041cf807d61f73250f968cf2d2 (patch)
tree0bcf4e4551768da3d7e33e74e4859a02264174ff
parent8df4da4eb37cb4e3589c88b866d6fcac469b5e8d (diff)
downloadffmpeg-f63b6dc0ff386d041cf807d61f73250f968cf2d2.tar.gz
Do not calculate dependencies for header files in the .vhookdepend target.
Originally committed as revision 12422 to svn://svn.ffmpeg.org/ffmpeg/trunk
-rw-r--r--Makefile2
1 files changed, 1 insertions, 1 deletions
diff --git a/Makefile b/Makefile
index 686b6b048c..93f8715ca9 100644
--- a/Makefile
+++ b/Makefile
@@ -227,7 +227,7 @@ depend dep: .depend .vhookdep
# gcc stupidly only outputs the basename of targets with -MM
.vhookdep: $(ALLHOOKS_SRCS) version.h
- $(CC) $(VHOOKCFLAGS) -MM $^ | sed 's,^\([a-z]\),vhook/\1,' > $@
+ $(CC) -MM $(VHOOKCFLAGS) $(filter-out %.h,$^) | sed 's,^\([a-z]\),vhook/\1,' > $@
$(DEP_LIBS): lib