summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/glu/Makefile1
-rw-r--r--src/glut/glx/Makefile1
-rw-r--r--src/glut/mini/Makefile2
-rw-r--r--src/glw/Makefile2
-rw-r--r--src/mesa/Makefile1
-rw-r--r--src/mesa/drivers/dri/Makefile1
6 files changed, 6 insertions, 2 deletions
diff --git a/src/glu/Makefile b/src/glu/Makefile
index fe19fd1ff3..599b3fc75a 100644
--- a/src/glu/Makefile
+++ b/src/glu/Makefile
@@ -32,3 +32,4 @@ clean:
-@for dir in $(SUBDIRS) ; do \
(cd $$dir && $(MAKE) clean) ; \
done
+ -rm -f *.pc
diff --git a/src/glut/glx/Makefile b/src/glut/glx/Makefile
index 819dfd2502..660ce8e4f5 100644
--- a/src/glut/glx/Makefile
+++ b/src/glut/glx/Makefile
@@ -119,6 +119,7 @@ clean:
-rm -f *.o *~
-rm -f *.lo
-rm -f *.la
+ -rm -f *.pc
-rm -rf .libs
-rm -f depend depend.bak
diff --git a/src/glut/mini/Makefile b/src/glut/mini/Makefile
index 6aba2af0a3..3b5a73e09a 100644
--- a/src/glut/mini/Makefile
+++ b/src/glut/mini/Makefile
@@ -93,6 +93,6 @@ install: glut.pc
# Remove .o and backup files
clean: depend
-rm -f depend depend.bak
- -rm -f *.o *~ *.o *~ *.so libglut.so.3.7
+ -rm -f *.o *~ *.o *~ *.so *.pc libglut.so.3.7
include depend
diff --git a/src/glw/Makefile b/src/glw/Makefile
index f0dd1acb43..0c11a9d838 100644
--- a/src/glw/Makefile
+++ b/src/glw/Makefile
@@ -44,7 +44,7 @@ install: glw.pc
clean:
-rm -f depend depend.bak
- -rm -f *.o *~
+ -rm -f *.o *.pc *~
# Make the library
diff --git a/src/mesa/Makefile b/src/mesa/Makefile
index 3827ffb3f7..bd3627b5eb 100644
--- a/src/mesa/Makefile
+++ b/src/mesa/Makefile
@@ -129,6 +129,7 @@ clean:
-rm -f */*/*.o
-rm -f depend depend.bak libmesa.a libglapi.a
-rm -f drivers/*/*.o
+ -rm -f *.pc
-@cd drivers/dri && $(MAKE) clean
-@cd drivers/x11 && $(MAKE) clean
-@cd drivers/osmesa && $(MAKE) clean
diff --git a/src/mesa/drivers/dri/Makefile b/src/mesa/drivers/dri/Makefile
index 96118e0176..3b3fcf11df 100644
--- a/src/mesa/drivers/dri/Makefile
+++ b/src/mesa/drivers/dri/Makefile
@@ -53,3 +53,4 @@ clean:
fi \
done
-rm -f common/*.o
+ -rm -f *.pc