# HG changeset patch # User diego # Date 1208121629 0 # Node ID 210f869a7a318da27842086da1c7ffe431ab2915 # Parent 2deb4c25db1c7b1ffd47ccaf4e17c5c4c05df6ff Add gui subdirectories to DIRS instead of manually cleaning them. diff -r 2deb4c25db1c -r 210f869a7a31 Makefile --- a/Makefile Sun Apr 13 21:13:05 2008 +0000 +++ b/Makefile Sun Apr 13 21:20:29 2008 +0000 @@ -220,7 +220,13 @@ tremor \ vidix \ -DIRS = input \ +DIRS = gui \ + gui/mplayer \ + gui/mplayer/gtk \ + gui/skin \ + gui/wm \ + gui/win32 \ + input \ libaf \ libass \ libmenu \ @@ -381,9 +387,6 @@ -rm -f mplayer$(EXESUF) mencoder$(EXESUF) codec-cfg$(EXESUF) \ codecs2html$(EXESUF) codec-cfg-test$(EXESUF) cpuinfo$(EXESUF) \ codecs.conf.h help_mp.h version.h TAGS tags - rm -f gui/mplayer/*.o gui/mplayer/*~ gui/mplayer/gtk/*.o \ - 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 rm -f $(foreach dir,$(DIRS),$(foreach suffix,/*.o /*.a /*.ho /*~, $(addsuffix $(suffix),$(dir))))