aboutsummaryrefslogtreecommitdiff
path: root/tools/showreproject/Makefile
diff options
context:
space:
mode:
authorJustin Berger <j.david.berger@gmail.com>2018-04-01 15:47:07 -0600
committerJustin Berger <j.david.berger@gmail.com>2018-04-01 16:09:58 -0600
commit5384af65f9d63d095cb9987d36de57ccee323300 (patch)
treed72b93eab489da8db9d29cf16e78952fdadadccf /tools/showreproject/Makefile
parentaea08a70a033cc0aef0998267fadb54af5fb2c69 (diff)
downloadlibsurvive-5384af65f9d63d095cb9987d36de57ccee323300.tar.gz
libsurvive-5384af65f9d63d095cb9987d36de57ccee323300.tar.bz2
Added reproject tool
Diffstat (limited to 'tools/showreproject/Makefile')
-rw-r--r--tools/showreproject/Makefile16
1 files changed, 16 insertions, 0 deletions
diff --git a/tools/showreproject/Makefile b/tools/showreproject/Makefile
new file mode 100644
index 0000000..f6d5925
--- /dev/null
+++ b/tools/showreproject/Makefile
@@ -0,0 +1,16 @@
+all : showreproject
+
+SRT:=../..
+
+LIBSURVIVE:=$(SRT)/lib/libsurvive.so
+
+CFLAGS:=-I$(SRT)/redist -I$(SRT)/include -O0 -g -DFLT=double -DUSE_DOUBLE #-fsanitize=address -fsanitize=undefined
+LDFLAGS:=-lm -lpthread -llapacke -lcblas -lopencv_core -lopencv_highgui -lopencv_imgproc -lopencv_imgcodecs
+
+showreproject : showreproject.cc $(LIBSURVIVE)
+ cd ../..;make
+ g++ $(CFLAGS) -o $@ $^ $(LDFLAGS)
+
+clean :
+ rm -rf showreproject
+