summaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
authorDiego Biurrun <diego@biurrun.de>2008-03-12 23:30:35 +0000
committerDiego Biurrun <diego@biurrun.de>2008-03-12 23:30:35 +0000
commit315c741d3d215f2861fb356dd0ba8637b6019127 (patch)
tree396278028c8c29f4d6e5d2d76f9da4a4d64540ac /Makefile
parent8b83d568930506600c65c14aaa76089d1c618d69 (diff)
Move dependency generation commands into configure.
This will allow specifying gcc-independent commands in the future. Originally committed as revision 12426 to svn://svn.ffmpeg.org/ffmpeg/trunk
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile5
1 files changed, 2 insertions, 3 deletions
diff --git a/Makefile b/Makefile
index 93f8715ca9..bd514320db 100644
--- a/Makefile
+++ b/Makefile
@@ -223,11 +223,10 @@ depend dep: .depend .vhookdep
$(MAKE-$(CONFIG_AVFILTER)) -C libavfilter depend
.depend: $(SRCS) version.h
- $(CC) -MM $(CFLAGS) $(filter-out %.h,$^) > $@
+ $(DEPEND_CMD) > $@
-# gcc stupidly only outputs the basename of targets with -MM
.vhookdep: $(ALLHOOKS_SRCS) version.h
- $(CC) -MM $(VHOOKCFLAGS) $(filter-out %.h,$^) | sed 's,^\([a-z]\),vhook/\1,' > $@
+ $(VHOOK_DEPEND_CMD) > $@
$(DEP_LIBS): lib