aboutsummaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
authorGertjan van den Burg <gertjanvandenburg@gmail.com>2015-07-30 16:07:50 +0200
committerGertjan van den Burg <gertjanvandenburg@gmail.com>2015-07-30 16:07:50 +0200
commitdec32e1516a05db805ff75a9e016e8bea04d1d8e (patch)
tree1087efc189d5ca533ac01fec6746347212d66202 /Makefile
parentadded readme (diff)
downloadSyncRNG-dec32e1516a05db805ff75a9e016e8bea04d1d8e.tar.gz
SyncRNG-dec32e1516a05db805ff75a9e016e8bea04d1d8e.zip
name change to SyncRNG and documentation in the .c file
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile9
1 files changed, 5 insertions, 4 deletions
diff --git a/Makefile b/Makefile
index 4531139..da2d612 100644
--- a/Makefile
+++ b/Makefile
@@ -1,4 +1,6 @@
PYTHON=python2
+RLIB=RSyncRNG.so
+CFILE=syncrng.c
.PHONY: all clean
@@ -8,10 +10,9 @@ python:
$(PYTHON) setup.py build_ext --inplace
R:
- R CMD SHLIB -o tausR.so taus.c
+ R CMD SHLIB -o $(RLIB) $(CFILE)
clean:
rm -rf build
- rm -f taus.so
- rm -f tausR.so
- rm -f taus.o
+ rm -f *.so *.o
+ rm *.pyc