changeset 26410:210f869a7a31

Add gui subdirectories to DIRS instead of manually cleaning them.
author diego
date Sun, 13 Apr 2008 21:20:29 +0000
parents 2deb4c25db1c
children 48ad6a56838f
files Makefile
diffstat 1 files changed, 7 insertions(+), 4 deletions(-) [+]
line wrap: on
line diff
--- 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))))