summaryrefslogtreecommitdiffstats
path: root/src/mesa/Makefile
diff options
context:
space:
mode:
authorBrian <[email protected]>2007-06-12 17:06:27 -0600
committerBrian <[email protected]>2007-06-12 17:06:27 -0600
commit261ed740749a7f358573ba470c25ed78d4abd2c4 (patch)
treea1f18721a5ef4ec8070ea08d7891d5e02a1310c4 /src/mesa/Makefile
parentd70fa021d51993b1555c3c3149326f48209e89f6 (diff)
fix make clean commands so missing subdirs don't cause infinite loops
Diffstat (limited to 'src/mesa/Makefile')
-rw-r--r--src/mesa/Makefile6
1 files changed, 3 insertions, 3 deletions
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