[MPlayer-dev-eng] Possible Makefile patch
Stephen Davies
steve at daviesfam.org
Wed May 1 15:22:54 CEST 2002
Hi,
For ages I've had the following little change in my Makefile for mplayer.
It just makes "make clean" recursive into subdirectories. I don't know if
others would find this an improvement?
Steve
-------------- next part --------------
? fibmap_mplayer
Index: Makefile
===================================================================
RCS file: /cvsroot/mplayer/main/Makefile,v
retrieving revision 1.182
diff -u -r1.182 Makefile
--- Makefile 26 Apr 2002 19:47:55 -0000 1.182
+++ Makefile 1 May 2002 13:28:21 -0000
@@ -266,6 +266,7 @@
clean:
-rm -f *.o *~ $(OBJS)
+ @for a in $(PARTS); do $(MAKE) -C $$a clean; done
distclean:
-rm -f *~ $(PRG) $(PRG_FIBMAP) $(PRG_MENCODER) $(OBJS)
More information about the MPlayer-dev-eng
mailing list