summaryrefslogtreecommitdiffstats
path: root/src/mesa
diff options
context:
space:
mode:
authorBrian Paul <[email protected]>2003-10-03 14:03:14 +0000
committerBrian Paul <[email protected]>2003-10-03 14:03:14 +0000
commit5fd77da4f691ee7ace6dfa9d2ff49535899f895d (patch)
treec52e3f60e727159b9c70cca887f5b9b181e8327d /src/mesa
parent7d8eb0604ab8b59bea5977741729e719f7327363 (diff)
improved 'clean' targets (Otto Solares)
Diffstat (limited to 'src/mesa')
-rw-r--r--src/mesa/Makefile.X114
-rw-r--r--src/mesa/drivers/dri/r200/Makefile.X113
2 files changed, 4 insertions, 3 deletions
diff --git a/src/mesa/Makefile.X11 b/src/mesa/Makefile.X11
index 12790a56b74..373608a325d 100644
--- a/src/mesa/Makefile.X11
+++ b/src/mesa/Makefile.X11
@@ -348,9 +348,9 @@ tags:
# Remove .o and backup files
clean:
- -rm *.a
+ -rm -f *.a
-rm -f */*.o */*~ */*.o */*~
- -rm -f drivers/*/*.o
+ -rm -f drivers/*/*.o drivers/*/*/*.o
include $(TOP)/Make-config
diff --git a/src/mesa/drivers/dri/r200/Makefile.X11 b/src/mesa/drivers/dri/r200/Makefile.X11
index 2c73f4d5212..62f4b4b94c1 100644
--- a/src/mesa/drivers/dri/r200/Makefile.X11
+++ b/src/mesa/drivers/dri/r200/Makefile.X11
@@ -1,4 +1,4 @@
-# $Id: Makefile.X11,v 1.3 2003/09/30 10:29:15 alanh Exp $
+# $Id: Makefile.X11,v 1.4 2003/10/03 14:03:18 brianp Exp $
# Mesa 3-D graphics library
# Version: 5.0
@@ -133,6 +133,7 @@ tags:
# Remove .o and backup files
clean:
-rm -f *.o */*.o *~ *.o *~ *.so server/*.o
+ -rm -f $(SYMLINKS)
include $(TOP)/Make-config