From 315c741d3d215f2861fb356dd0ba8637b6019127 Mon Sep 17 00:00:00 2001 From: Diego Biurrun Date: Wed, 12 Mar 2008 23:30:35 +0000 Subject: 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 --- Makefile | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) (limited to 'Makefile') 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 -- cgit v1.2.3