Initial import.
[mLib-python] / Makefile
1 ## Makefile
2
3 PYTHON = python
4 prefix = /usr/local
5
6 AUTOC = \
7 select.c crc32.c atom.c report.c sym.c unihash.c \
8 base64.c base32.c hex.c
9
10 GEN = base64.pyx base32.pyx hex.pyx
11
12 all: setup.py
13 $(PYTHON) setup.py build
14
15 clean: setup.py
16 $(PYTHON) setup.py clean
17 rm -rf build
18 rm -f $(AUTOC) $(GEN) MANIFEST
19
20 dist: setup.py
21 $(PYTHON) setup.py sdist
22
23 install: setup.py
24 $(PYTHON) setup.py install --prefix $(prefix)
25
26 .PHONY: all clean dist install