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/Plex/Scanners.{so,pyd}
15         @(cd Demos; $(MAKE) clean)
16
17 testclean:
18         rm -fr BUILD
19
20 test:   testclean
21         ${PYTHON} runtests.py -vv
22
23 test3:  testclean
24         ${PYTHON} runtests.py --no-cleanup
25         python3.0 runtests.py -vv --no-cython
26
27 s5:
28         $(MAKE) -C Doc/s5 slides