chiark / gitweb /
setup.py: Update to use pkg-config.
[mLib-python] / Makefile
CommitLineData
20bce5e9 1## Makefile
2
3PYTHON = python
4prefix = /usr/local
5
20bce5e9 6GEN = base64.pyx base32.pyx hex.pyx
7
8all: setup.py
9 $(PYTHON) setup.py build
10
11clean: setup.py
12 $(PYTHON) setup.py clean
13 rm -rf build
579d0169 14 rm -f mLib.c $(GEN) MANIFEST
20bce5e9 15
16dist: setup.py
17 $(PYTHON) setup.py sdist
18
19install: setup.py
20 $(PYTHON) setup.py install --prefix $(prefix)
21
22.PHONY: all clean dist install