aboutsummaryrefslogtreecommitdiff
path: root/tools/lightlengthparams/Makefile
diff options
context:
space:
mode:
authorJustin Berger <j.david.berger@gmail.com>2018-03-25 21:29:32 -0600
committerJustin Berger <j.david.berger@gmail.com>2018-03-25 21:29:41 -0600
commitd9ecb4d321bfa04b5d67fb501be0cd9c46140775 (patch)
tree0017676a859d0da5aaa3898ebc7bac2b3c5a3615 /tools/lightlengthparams/Makefile
parent93ce31bf11cb22c5a09b5af04a76c7b7a6b912fd (diff)
downloadlibsurvive-d9ecb4d321bfa04b5d67fb501be0cd9c46140775.tar.gz
libsurvive-d9ecb4d321bfa04b5d67fb501be0cd9c46140775.tar.bz2
Added tool to calculate various things about length of received pulses
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
+