summaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile20
1 files changed, 20 insertions, 0 deletions
diff --git a/Makefile b/Makefile
new file mode 100644
index 0000000..a58b1f6
--- /dev/null
+++ b/Makefile
@@ -0,0 +1,20 @@
+# Note: This is meant for Scilab2Py developer use only
+.PHONY: all clean test
+
+export KILL_SCILAB="from scilab2py import kill_scilab; kill_scilab()"
+
+all:
+ make clean
+ python setup.py install
+
+clean:
+ rm -rf build
+ rm -rf dist
+ find . -name "*.pyc" -o -name "*.py,cover"| xargs rm -f
+ python -c $(KILL_SCILAB)
+
+test:
+ make clean
+ python setup.py install
+ cd ~; ipython qtconsole --kernel=scilab
+ make clean