1
0
mirror of https://github.com/FFmpeg/FFmpeg.git synced 2024-12-23 12:43:46 +02:00

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 $(MAKE-$(CONFIG_AVFILTER)) -C libavfilter depend
.depend: $(SRCS) version.h .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 # gcc stupidly only outputs the basename of targets with -MM
.vhookdep: $(ALLHOOKS_SRCS) version.h .vhookdep: $(ALLHOOKS_SRCS) version.h