aboutsummaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
authorGertjan van den Burg <gertjanvandenburg@gmail.com>2015-07-30 15:21:28 +0200
committerGertjan van den Burg <gertjanvandenburg@gmail.com>2015-07-30 15:21:28 +0200
commit30ea740b60be37e551deb4d0157595f0bea277a2 (patch)
treecef294510a5154d205fb1b7930fcaf3ae617a56e /Makefile
downloadSyncRNG-30ea740b60be37e551deb4d0157595f0bea277a2.tar.gz
SyncRNG-30ea740b60be37e551deb4d0157595f0bea277a2.zip
initial commit
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