summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-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 fe19fd1..599b3fc 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 819dfd2..660ce8e 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 6aba2af..3b5a73e 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 f0dd1ac..0c11a9d 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 3827ffb..bd3627b 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 96118e0..3b3fcf1 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