Pin Chrome's shortcut to the Win10 Start menu on install and OS upgrade.
[chromium-blink-merge.git] / third_party / cython / src / Makefile
blob5b28eae8b0806fa0da7d0181f162d567348bf667
1 PYTHON?=python
2 REPO = git://github.com/cython/cython.git
4 all: local
6 local:
7 ${PYTHON} setup.py build_ext --inplace
9 TMPDIR = .repo_tmp
10 .git: .gitrev
11 rm -rf $(TMPDIR)
12 git clone -n $(REPO) $(TMPDIR)
13 cd $(TMPDIR) && git reset -q "$(shell cat .gitrev)"
14 mv $(TMPDIR)/.git .
15 rm -rf $(TMPDIR)
16 git ls-files -d | xargs git checkout --
18 repo: .git
21 clean:
22 @echo Cleaning Source
23 @rm -fr build
24 @rm -f *.py[co] */*.py[co] */*/*.py[co] */*/*/*.py[co]
25 @rm -f *.so */*.so */*/*.so
26 @rm -f *.pyd */*.pyd */*/*.pyd
27 @rm -f *~ */*~ */*/*~
28 @rm -f core */core
29 @rm -f Cython/Compiler/*.c
30 @rm -f Cython/Plex/*.c
31 @rm -f Cython/Runtime/refnanny.c
32 @(cd Demos; $(MAKE) clean)
34 testclean:
35 rm -fr BUILD
37 test: testclean
38 ${PYTHON} runtests.py -vv
40 s5:
41 $(MAKE) -C Doc/s5 slides