summaryrefslogtreecommitdiff
path: root/src/mesa/drivers
diff options
context:
space:
mode:
Diffstat (limited to 'src/mesa/drivers')
-rw-r--r--src/mesa/drivers/dri/Makefile.template3
-rw-r--r--src/mesa/drivers/dri/dri_client/Makefile2
2 files changed, 3 insertions, 2 deletions
diff --git a/src/mesa/drivers/dri/Makefile.template b/src/mesa/drivers/dri/Makefile.template
index 75c62af0f7..517e00632b 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 ae4bf3055b..35a7ed4cd0 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