mirror of
https://github.com/mpv-player/mpv
synced 2025-03-25 04:38:01 +00:00
Declare FFmpeg dependencies in a more elegant way using the PARTS variable.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@27203 b3059339-0415-0410-9bf9-f77b7e298cf2
This commit is contained in:
parent
6d14167f28
commit
da6a5a6979
4
Makefile
4
Makefile
@ -734,8 +734,8 @@ dep depend: $(DEPS)
|
||||
for part in $(PARTS); do $(MAKE) -C $$part depend; done
|
||||
|
||||
ALLPARTLIBS = $(foreach part, $(PARTS), $(part)/$(part).a)
|
||||
|
||||
$(ALLPARTLIBS): libavutil/*.[ch] libavcodec/*.[ch] libavcodec/*/*.[chS] libavformat/*.[ch] libpostproc/*.[ch] libswscale/*.[chS] libvo/fastmemcpy.h config.h
|
||||
FFMPEGFILES = $(foreach part, $(PARTS), $(part)/*.[chS] libavcodec/*/*.[chS])
|
||||
$(ALLPARTLIBS): $(FFMPEGFILES) libvo/fastmemcpy.h config.h
|
||||
$(MAKE) -C $(@D)
|
||||
touch $@
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user