summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorBrian Paul <[email protected]>2004-10-04 14:47:48 +0000
committerBrian Paul <[email protected]>2004-10-04 14:47:48 +0000
commitddfec59bcdf84f26b7be206bf8c7fca9b8426cca (patch)
tree4c76d38797314d5f49eb48bac0de3ee7c4922898
parentbe76b7fe1e09ae52204f6225331355414c05f91d (diff)
make clean should remove depend.bak too (Sérgio Moneiro Basto)
-rw-r--r--src/mesa/Makefile2
-rw-r--r--src/mesa/drivers/dri/Makefile.template3
-rw-r--r--src/mesa/drivers/dri/dri_client/Makefile2
3 files changed, 4 insertions, 3 deletions
diff --git a/src/mesa/Makefile b/src/mesa/Makefile
index b4819090d57..87279eed182 100644
--- a/src/mesa/Makefile
+++ b/src/mesa/Makefile
@@ -176,7 +176,7 @@ tags:
clean:
-rm -f */*.o
- -rm -f depend mesa.a
+ -rm -f depend depend.bak mesa.a
-rm -f drivers/*/*.o
(cd drivers/dri ; $(MAKE) clean)
diff --git a/src/mesa/drivers/dri/Makefile.template b/src/mesa/drivers/dri/Makefile.template
index 75c62af0f78..517e00632b1 100644
--- a/src/mesa/drivers/dri/Makefile.template
+++ b/src/mesa/drivers/dri/Makefile.template
@@ -95,6 +95,7 @@ tags:
# Remove .o and backup files
clean:
- -rm -f *.o */*.o *~ *.o *~ *.so server/*.o $(SYMLINKS) depend
+ -rm -f *.o */*.o *~ *.o *~ *.so server/*.o $(SYMLINKS)
+ -rm -f depend depend.bak
include depend
diff --git a/src/mesa/drivers/dri/dri_client/Makefile b/src/mesa/drivers/dri/dri_client/Makefile
index ae4bf3055b6..35a7ed4cd0b 100644
--- a/src/mesa/drivers/dri/dri_client/Makefile
+++ b/src/mesa/drivers/dri/dri_client/Makefile
@@ -53,6 +53,6 @@ dri.a: $(OBJECTS)
# Remove .o and backup files
clean:
- -rm -f *.o */*.o *~ *.so *.a
+ -rm -f *.o */*.o *~ *.so *.a depend depend.bak
include depend