Mercurial > mplayer.hg
comparison Makefile @ 26409:2deb4c25db1c
Replace shell for loop by proper make foreach construct.
author | diego |
---|---|
date | Sun, 13 Apr 2008 21:13:05 +0000 |
parents | 08117784bc9e |
children | 210f869a7a31 |
comparison
equal
deleted
inserted
replaced
26408:7a36d5941fd8 | 26409:2deb4c25db1c |
---|---|
383 codecs.conf.h help_mp.h version.h TAGS tags | 383 codecs.conf.h help_mp.h version.h TAGS tags |
384 rm -f gui/mplayer/*.o gui/mplayer/*~ gui/mplayer/gtk/*.o \ | 384 rm -f gui/mplayer/*.o gui/mplayer/*~ gui/mplayer/gtk/*.o \ |
385 gui/mplayer/gtk/*~ gui/skin/*.o gui/skin/*~ \ | 385 gui/mplayer/gtk/*~ gui/skin/*.o gui/skin/*~ \ |
386 gui/wm/*.o gui/wm/*~ gui/win32/*.o gui/win32/*~ | 386 gui/wm/*.o gui/wm/*~ gui/win32/*.o gui/win32/*~ |
387 for part in $(PARTS); do $(MAKE) -C $$part clean; done | 387 for part in $(PARTS); do $(MAKE) -C $$part clean; done |
388 for dir in $(DIRS); do rm -f $$dir/*.o $$dir/*.a $$dir/*.ho $$dir/*~ ; done | 388 rm -f $(foreach dir,$(DIRS),$(foreach suffix,/*.o /*.a /*.ho /*~, $(addsuffix $(suffix),$(dir)))) |
389 | 389 |
390 distclean:: doxygen_clean | 390 distclean:: doxygen_clean |
391 for part in $(PARTS); do $(MAKE) -C $$part distclean; done | 391 for part in $(PARTS); do $(MAKE) -C $$part distclean; done |
392 $(MAKE) -C TOOLS distclean | 392 $(MAKE) -C TOOLS distclean |
393 -rm -f configure.log config.mak config.h | 393 -rm -f configure.log config.mak config.h |