aboutsummaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile17
1 files changed, 17 insertions, 0 deletions
diff --git a/Makefile b/Makefile
new file mode 100644
index 0000000..4531139
--- /dev/null
+++ b/Makefile
@@ -0,0 +1,17 @@
+PYTHON=python2
+
+.PHONY: all clean
+
+all: R python
+
+python:
+ $(PYTHON) setup.py build_ext --inplace
+
+R:
+ R CMD SHLIB -o tausR.so taus.c
+
+clean:
+ rm -rf build
+ rm -f taus.so
+ rm -f tausR.so
+ rm -f taus.o