[MPlayer-cvslog] r26441 - trunk/Makefile
diego
subversion at mplayerhq.hu
Sun Apr 13 23:13:05 CEST 2008
Author: diego
Date: Sun Apr 13 23:13:05 2008
New Revision: 26441
Log:
Replace shell for loop by proper make foreach construct.
Modified:
trunk/Makefile
Modified: trunk/Makefile
==============================================================================
--- trunk/Makefile (original)
+++ trunk/Makefile Sun Apr 13 23:13:05 2008
@@ -385,7 +385,7 @@ clean::
gui/mplayer/gtk/*~ gui/skin/*.o gui/skin/*~ \
gui/wm/*.o gui/wm/*~ gui/win32/*.o gui/win32/*~
for part in $(PARTS); do $(MAKE) -C $$part clean; done
- for dir in $(DIRS); do rm -f $$dir/*.o $$dir/*.a $$dir/*.ho $$dir/*~ ; done
+ rm -f $(foreach dir,$(DIRS),$(foreach suffix,/*.o /*.a /*.ho /*~, $(addsuffix $(suffix),$(dir))))
distclean:: doxygen_clean
for part in $(PARTS); do $(MAKE) -C $$part distclean; done
More information about the MPlayer-cvslog
mailing list