Remove generated pkg-config files on `make clean'
authorDan Nicholson <dbn.lists@gmail.com>
Fri, 11 Jul 2008 17:43:29 +0000 (10:43 -0700)
committerDan Nicholson <dbn.lists@gmail.com>
Fri, 11 Jul 2008 17:43:29 +0000 (10:43 -0700)
src/glu/Makefile
src/glut/glx/Makefile
src/glut/mini/Makefile
src/glw/Makefile
src/mesa/Makefile
src/mesa/drivers/dri/Makefile

index fe19fd1ff34697794997b02d8682d9d9d1966ab2..599b3fc75a3bb927e762d0186294b4579dfff228 100644 (file)
@@ -32,3 +32,4 @@ clean:
        -@for dir in $(SUBDIRS) ; do \
                (cd $$dir && $(MAKE) clean) ; \
        done
+       -rm -f *.pc
index 819dfd250225a3d6007e74d94d111dfb69d5e1a3..660ce8e4f522fcda06d7811b1073a3f6f6b123e2 100644 (file)
@@ -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
 
index 6aba2af0a3a97bb5cea045c0650a977ae1e72473..3b5a73e09aeb0e35e2ccb0c200202ec42ae72ab9 100644 (file)
@@ -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
index f0dd1acb43b8429e7ac4a841d86b98f95e8438b5..0c11a9d8385850e58aee3067b2582dbd6d613030 100644 (file)
@@ -44,7 +44,7 @@ install: glw.pc
 
 clean:
        -rm -f depend depend.bak
-       -rm -f *.o *~
+       -rm -f *.o *.pc *~
 
 
 # Make the library
index 3827ffb3f72403fa7c67152460a87e581534037d..bd3627b5eb524c5b944bfc0bc126b301f79d2464 100644 (file)
@@ -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
index 96118e01765dd04afacd7de6f3b4b71a737b6e00..3b3fcf11df118f8f29047ed684e1a52b59df2575 100644 (file)
@@ -53,3 +53,4 @@ clean:
                fi \
        done
        -rm -f common/*.o
+       -rm -f *.pc