[MPlayer-cvslog] r29202 - trunk/Makefile

diego subversion at mplayerhq.hu
Mon Apr 20 02:18:59 CEST 2009


Author: diego
Date: Mon Apr 20 02:18:59 2009
New Revision: 29202

Log:
Introduce ADDSUFFIXES function and use it to simplify the
ADD_ALL_DIRS and ADD_ALL_EXESUFS functions.

Modified:
   trunk/Makefile

Modified: trunk/Makefile
==============================================================================
--- trunk/Makefile	Mon Apr 20 02:16:53 2009	(r29201)
+++ trunk/Makefile	Mon Apr 20 02:18:59 2009	(r29202)
@@ -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 \


More information about the MPlayer-cvslog mailing list