summaryrefslogtreecommitdiffstats
path: root/Makefile
diff options
context:
space:
mode:
authordiego <diego@b3059339-0415-0410-9bf9-f77b7e298cf2>2006-08-03 17:31:30 +0000
committerdiego <diego@b3059339-0415-0410-9bf9-f77b7e298cf2>2006-08-03 17:31:30 +0000
commitfffc1d306a72bed93a34688983785299d858d149 (patch)
tree309a5490235fc6ba1a5c9a6a03051a0a007d51ca /Makefile
parent01ba6ad0ee458d39932748551b9de9076e49a5fa (diff)
downloadmpv-fffc1d306a72bed93a34688983785299d858d149.tar.bz2
mpv-fffc1d306a72bed93a34688983785299d858d149.tar.xz
'make clean' now recurses through subdirectories as expected,
'make dirclean' can be used to clean just the toplevel directory. git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@19298 b3059339-0415-0410-9bf9-f77b7e298cf2
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile5
1 files changed, 4 insertions, 1 deletions
diff --git a/Makefile b/Makefile
index 6ef9e8fba0..453da90d75 100644
--- a/Makefile
+++ b/Makefile
@@ -480,9 +480,12 @@ ifeq ($(VIDIX),yes)
endif
@echo "Uninstall completed"
-clean:
+dirclean:
-rm -f *.o *.a *~
+clean: dirclean
+ @for a in $(PARTS); do $(MAKE) -C $$a clean; done
+
distclean: clean doxygen_clean
-rm -f *~ $(PRG) $(PRG_MENCODER) codec-cfg codecs2html
-rm -f .depend configure.log codecs.conf.h help_mp.h