Add simple Makefile.
authormdw <mdw>
Mon, 6 Feb 2006 17:33:47 +0000 (17:33 +0000)
committermdw <mdw>
Mon, 6 Feb 2006 17:33:47 +0000 (17:33 +0000)
Makefile [new file with mode: 0644]

diff --git a/Makefile b/Makefile
new file mode 100644 (file)
index 0000000..b0564e4
--- /dev/null
+++ b/Makefile
@@ -0,0 +1,19 @@
+## Makefile
+
+PYTHON = python
+prefix = /usr/local
+
+all: setup.py
+       $(PYTHON) setup.py build
+
+clean: setup.py
+       $(PYTHON) setup.py clean
+       rm -rf build
+
+dist: setup.py
+       $(PYTHON) setup.py sdist
+
+install: setup.py
+       $(PYTHON) setup.py install --prefix $(prefix)
+
+.PHONY: all clean dist install