aboutsummaryrefslogtreecommitdiff
path: root/tools/lightlengthparams/Makefile
diff options
context:
space:
mode:
authordpeter99 <dpeter99@gmail.com>2018-03-26 22:05:21 +0200
committerGitHub <noreply@github.com>2018-03-26 22:05:21 +0200
commit4c373617220aca69a4acb7a32c12457a057f4e48 (patch)
tree6598f0185c010dc3d48067060a6303d9e58ce74f /tools/lightlengthparams/Makefile
parentd106e045d8a145ceb733075e541f6aaaee5bd3a7 (diff)
parent18e717642be3af3b9f72b630dcad68ca17c32dc9 (diff)
downloadlibsurvive-4c373617220aca69a4acb7a32c12457a057f4e48.tar.gz
libsurvive-4c373617220aca69a4acb7a32c12457a057f4e48.tar.bz2
Merge branch 'master' into master
Diffstat (limited to 'tools/lightlengthparams/Makefile')
-rw-r--r--tools/lightlengthparams/Makefile15
1 files changed, 15 insertions, 0 deletions
diff --git a/tools/lightlengthparams/Makefile b/tools/lightlengthparams/Makefile
new file mode 100644
index 0000000..b743f4f
--- /dev/null
+++ b/tools/lightlengthparams/Makefile
@@ -0,0 +1,15 @@
+all : lightlengthparams
+
+SRT:=../..
+
+LIBSURVIVE:=$(SRT)/lib/libsurvive.so
+
+CFLAGS:=-I$(SRT)/redist -I$(SRT)/include -O0 -g -DFLT=double -DUSE_DOUBLE
+LDFLAGS:=-lm -lpthread -llapacke -lcblas
+
+lightlengthparams : lightlengthparams.c $(LIBSURVIVE)
+ gcc $(CFLAGS) -o $@ $^ $(LDFLAGS)
+
+clean :
+ rm -rf lightlengthparams
+