From 6c44c6d020ce7bc8e65ef69fefa0db4cc6157bed Mon Sep 17 00:00:00 2001 From: Dan Nicholson Date: Fri, 11 Jul 2008 10:43:29 -0700 Subject: [PATCH] Remove generated pkg-config files on `make clean' --- src/glu/Makefile | 1 + src/glut/glx/Makefile | 1 + src/glut/mini/Makefile | 2 +- src/glw/Makefile | 2 +- src/mesa/Makefile | 1 + src/mesa/drivers/dri/Makefile | 1 + 6 files changed, 6 insertions(+), 2 deletions(-) diff --git a/src/glu/Makefile b/src/glu/Makefile index fe19fd1ff34..599b3fc75a3 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 819dfd25022..660ce8e4f52 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 6aba2af0a3a..3b5a73e09ae 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 f0dd1acb43b..0c11a9d8385 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 3827ffb3f72..bd3627b5eb5 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 96118e01765..3b3fcf11df1 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 -- 2.30.2