mirror of
https://github.com/xenia-project/FFmpeg.git
synced 2024-11-24 20:19:55 +00:00
Simplify .depend generation command.
Originally committed as revision 12414 to svn://svn.ffmpeg.org/ffmpeg/trunk
This commit is contained in:
parent
7853bf93b2
commit
30a3ad750b
2
Makefile
2
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
|
||||
|
Loading…
Reference in New Issue
Block a user