[MPlayer-cvslog] r19298 - trunk/Makefile

diego subversion at mplayerhq.hu
Thu Aug 3 19:31:31 CEST 2006


Author: diego
Date: Thu Aug  3 19:31:30 2006
New Revision: 19298

Modified:
   trunk/Makefile

Log:
'make clean' now recurses through subdirectories as expected,
'make dirclean' can be used to clean just the toplevel directory.


Modified: trunk/Makefile
==============================================================================
--- trunk/Makefile	(original)
+++ trunk/Makefile	Thu Aug  3 19:31:30 2006
@@ -480,9 +480,12 @@
 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



More information about the MPlayer-cvslog mailing list