freeze: include FreeBSD fix from Python's main()
[cython.git] / Makefile
old mode 100755 (executable)
new mode 100644 (file)
index 37380a2..6fdb6f9
--- a/Makefile
+++ b/Makefile
@@ -1,10 +1,21 @@
 PYTHON?=python
 
+all:    local 
+
+local:
+       ${PYTHON} setup.py build_ext --inplace
+
 clean:
        @echo Cleaning Source
+       @rm -fr build
        @rm -f *.pyc */*.pyc */*/*.pyc 
        @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}
        @(cd Demos; $(MAKE) clean)
 
 testclean: