Better makefile clean.
authorRobert Bradshaw <robertwb@math.washington.edu>
Sat, 24 Oct 2009 20:44:36 +0000 (13:44 -0700)
committerRobert Bradshaw <robertwb@math.washington.edu>
Sat, 24 Oct 2009 20:44:36 +0000 (13:44 -0700)
Bug and fix reported by Mark Lodato.

Makefile

index 6fdb6f96256d4e541723e5a6a4ae79a194b487b8..d77f299031e2df6a0a5d80d93260650157b5cae3 100644 (file)
--- a/Makefile
+++ b/Makefile
@@ -9,13 +9,13 @@ clean:
        @echo Cleaning Source
        @rm -fr build
        @rm -f *.pyc */*.pyc */*/*.pyc 
+       @rm -f *.so */*.so */*/*.so 
+       @rm -f *.pyd */*.pyd */*/*.pyd 
        @rm -f *~ */*~ */*/*~
        @rm -f core */core
-       @rm -f Cython/Compiler/Parsing.{c,so,pyd}
-       @rm -f Cython/Compiler/Scanning.{c,so,pyd}
-       @rm -f Cython/Compiler/Visitor.{c,so,pyd}
-       @rm -f Cython/Runtime/refnanny.{c,so,pyd}
-       @rm -f Cython/Plex/Scanners.{c,so,pyd}
+       @rm -f Cython/Compiler/*.c
+       @rm -f Cython/Plex/*.c
+       @rm -f Cython/Runtime/refnanny.c
        @(cd Demos; $(MAKE) clean)
 
 testclean: