Add pyrex-based bindings for the libyaml scanner.
[pyyaml/python3.git] / Makefile
blobd6530936dafc15b4e8b459c15f8954065a35ad8e
2 .PHONY: default build buildext force forceext install installext test testext dist clean
4 PYTHON=/usr/bin/python
5 TEST=
6 PARAMETERS=
8 build:
9 ${PYTHON} setup.py build ${PARAMETERS}
11 buildext:
12 ${PYTHON} setup_ext.py build ${PARAMETERS}
14 force:
15 ${PYTHON} setup.py build -f ${PARAMETERS}
17 forceext:
18 ${PYTHON} setup_ext.py build -f ${PARAMETERS}
20 install: build
21 ${PYTHON} setup.py install ${PARAMETERS}
23 installext: buildext
24 ${PYTHON} setup_ext.py install ${PARAMETERS}
26 test: build
27 ${PYTHON} tests/test_build.py ${TEST}
29 testext: buildext
30 ${PYTHON} tests/test_build_ext.py ${TEST}
32 dist:
33 ${PYTHON} setup.py sdist --formats=zip,gztar
35 windist:
36 ${PYTHON} setup.py bdist_wininst
38 clean:
39 ${PYTHON} setup.py clean -a