From: diego Date: Mon, 10 Mar 2008 20:18:40 +0000 (+0000) Subject: Simplify .depend generation command. X-Git-Url: http://rtime.felk.cvut.cz/gitweb/frescor/ffmpeg.git/commitdiff_plain/2c1bb9e0d506db83a06eabaddb948c20b62bdd59 Simplify .depend generation command. git-svn-id: file:///var/local/repositories/ffmpeg/trunk@12414 9553f0bf-9b14-0410-a0b8-cfaf0461ba5b --- diff --git a/Makefile b/Makefile index 3d17a1c3e..fac0d3913 100644 --- a/Makefile +++ b/Makefile @@ -227,7 +227,7 @@ depend dep: .depend .vhookdep $(MAKE-$(CONFIG_AVFILTER)) -C libavfilter depend .depend: $(SRCS) version.h - $(CC) -MM $(CFLAGS) $(filter-out %.h,$^) > .depend + $(CC) -MM $(CFLAGS) $(SRCS) > $@ # gcc stupidly only outputs the basename of targets with -MM .vhookdep: $(ALLHOOKS_SRCS) version.h