Simplify .depend generation command.

Originally committed as revision 12414 to svn://svn.ffmpeg.org/ffmpeg/trunk
This commit is contained in:
Diego Biurrun 2008-03-10 20:18:40 +00:00
parent 7853bf93b2
commit 30a3ad750b

View File

@ -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