-VERSION = 0.9.6.3
PYTHON?=python
-version:
- @echo "Setting version to $(VERSION)"
- @echo "version = '$(VERSION)'" > Cython/Compiler/Version.py
+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:
rm -fr BUILD
test: testclean
- ${PYTHON} runtests.py
+ ${PYTHON} runtests.py -vv
test3: testclean
${PYTHON} runtests.py --no-cleanup
- python3.0 runtests.py --no-cython
+ python3.0 runtests.py -vv --no-cython
+
+s5:
+ $(MAKE) -C Doc/s5 slides