merge
[cython.git] / Makefile
1 PYTHON?=python
2
3 all:    local 
4
5 local:
6         ${PYTHON} setup.py build_ext --inplace
7
8 clean:
9         @echo Cleaning Source
10         @rm -fr build
11         @rm -f *.pyc */*.pyc */*/*.pyc 
12         @rm -f *~ */*~ */*/*~
13         @rm -f core */core
14         @rm -f Cython/Compiler/Parsing.{c,so,pyd}
15         @rm -f Cython/Compiler/Scanning.{c,so,pyd}
16         @rm -f Cython/Compiler/Visitor.{c,so,pyd}
17         @rm -f Cython/Runtime/refnanny.{c,so,pyd}
18         @rm -f Cython/Plex/Scanners.{c,so,pyd}
19         @(cd Demos; $(MAKE) clean)
20
21 testclean:
22         rm -fr BUILD
23
24 test:   testclean
25         ${PYTHON} runtests.py -vv
26
27 test3:  testclean
28         ${PYTHON} runtests.py --no-cleanup
29         python3.0 runtests.py -vv --no-cython
30
31 s5:
32         $(MAKE) -C Doc/s5 slides