From: Brian Date: Tue, 12 Jun 2007 23:06:27 +0000 (-0600) Subject: fix make clean commands so missing subdirs don't cause infinite loops X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=261ed740749a7f358573ba470c25ed78d4abd2c4;p=mesa.git fix make clean commands so missing subdirs don't cause infinite loops --- diff --git a/src/mesa/Makefile b/src/mesa/Makefile index c03c5f80ff2..6943219036d 100644 --- a/src/mesa/Makefile +++ b/src/mesa/Makefile @@ -176,9 +176,9 @@ clean: -rm -f */*/*.o -rm -f depend depend.bak libmesa.a -rm -f drivers/*/*.o - (cd drivers/dri ; $(MAKE) clean) - (cd x86 ; $(MAKE) clean) - (cd x86-64 ; $(MAKE) clean) + (cd drivers/dri && $(MAKE) clean) + (cd x86 && $(MAKE) clean) + (cd x86-64 && $(MAKE) clean) include depend