aboutsummaryrefslogtreecommitdiff
path: root/tools/lightlengthparams/Makefile
diff options
context:
space:
mode:
authordpeter99 <dpeter99@gmail.com>2018-03-28 17:36:09 +0200
committerdpeter99 <dpeter99@gmail.com>2018-03-28 17:36:09 +0200
commit6f7759314baf66f69fa7a335a1f17c65e90661f2 (patch)
tree11a0e499a0ea83a5b7aa645ba05e5a87f6cc5070 /tools/lightlengthparams/Makefile
parentef18541ac2e1e97de9f04f132ac7b2b1ba21e515 (diff)
parent4c373617220aca69a4acb7a32c12457a057f4e48 (diff)
downloadlibsurvive-6f7759314baf66f69fa7a335a1f17c65e90661f2.tar.gz
libsurvive-6f7759314baf66f69fa7a335a1f17c65e90661f2.tar.bz2
Merge branch 'master' of https://github.com/dpeter99/libsurvive
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
+