Commit 30a3ad75 authored by Diego Biurrun's avatar Diego Biurrun

Simplify .depend generation command.

Originally committed as revision 12414 to svn://svn.ffmpeg.org/ffmpeg/trunk
parent 7853bf93
......@@ -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
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment