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