From: Robert Bradshaw Date: Sat, 24 Oct 2009 20:44:36 +0000 (-0700) Subject: Better makefile clean. X-Git-Tag: 0.12.alpha0~24 X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=16b10af202251858b76229c896b6501175b9269a;p=cython.git Better makefile clean. Bug and fix reported by Mark Lodato. --- diff --git a/Makefile b/Makefile index 6fdb6f96..d77f2990 100644 --- 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: