mirror of
https://github.com/mpv-player/mpv
synced 2024-12-24 07:42:17 +00:00
Introduce ADDSUFFIXES function and use it to simplify the
ADD_ALL_DIRS and ADD_ALL_EXESUFS functions. git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@29202 b3059339-0415-0410-9bf9-f77b7e298cf2
This commit is contained in:
parent
8f0639d4cc
commit
1ec5ec1fa1
5
Makefile
5
Makefile
@ -784,8 +784,9 @@ DIRS = . \
|
||||
|
||||
ALLHEADERS = $(foreach dir,$(DIRS),$(wildcard $(dir)/*.h))
|
||||
|
||||
ADD_ALL_DIRS = $(foreach dir,$(DIRS),$(foreach suffix,$(1),$(addsuffix $(suffix),$(dir))))
|
||||
ADD_ALL_EXESUFS = $(foreach file,$(1),$(foreach exesuf,$(EXESUFS_ALL),$(file) $(file)$(exesuf)))
|
||||
ADDSUFFIXES = $(foreach suf,$(1),$(addsuffix $(suf),$(2)))
|
||||
ADD_ALL_DIRS = $(call ADDSUFFIXES,$(1),$(DIRS))
|
||||
ADD_ALL_EXESUFS = $(1) $(call ADDSUFFIXES,$(EXESUFS_ALL),$(1))
|
||||
|
||||
FFMPEGPARTS = libavcodec \
|
||||
libavformat \
|
||||
|
Loading…
Reference in New Issue
Block a user