summaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile22
1 files changed, 22 insertions, 0 deletions
diff --git a/Makefile b/Makefile
new file mode 100644
index 0000000..f8207b6
--- /dev/null
+++ b/Makefile
@@ -0,0 +1,22 @@
+
+.PHONY: default build force install test clean
+
+PYTHON=/usr/bin/python
+TEST=
+PARAMETERS=
+
+build:
+ ${PYTHON} setup.py build ${PARAMETERS}
+
+force:
+ ${PYTHON} setup.py build -f ${PARAMETERS}
+
+install: build
+ ${PYTHON} setup.py install ${PARAMETERS}
+
+test: build
+ ${PYTHON} tests/test_build.py -v ${TEST}
+
+clean:
+ ${PYTHON} setup.py clean -a
+