aboutsummaryrefslogtreecommitdiff
path: root/tools/lightlengthparams/Makefile
diff options
context:
space:
mode:
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
+