aboutsummaryrefslogtreecommitdiff
path: root/tools/lighthousefind/Makefile
diff options
context:
space:
mode:
authorcnlohr <lohr85@gmail.com>2017-01-24 01:28:56 -0500
committercnlohr <lohr85@gmail.com>2017-01-24 01:28:56 -0500
commitf442da3264111a012612194690a647f284ff3d68 (patch)
treea65ed0aa1ea435d8182767065c62401aeed26982 /tools/lighthousefind/Makefile
parent35b8ec2f210022c1e4e1c2e8efd8596a0a971ed9 (diff)
downloadlibsurvive-f442da3264111a012612194690a647f284ff3d68.tar.gz
libsurvive-f442da3264111a012612194690a647f284ff3d68.tar.bz2
add new lighthousefind
Diffstat (limited to 'tools/lighthousefind/Makefile')
-rw-r--r--tools/lighthousefind/Makefile10
1 files changed, 10 insertions, 0 deletions
diff --git a/tools/lighthousefind/Makefile b/tools/lighthousefind/Makefile
new file mode 100644
index 0000000..b3e2637
--- /dev/null
+++ b/tools/lighthousefind/Makefile
@@ -0,0 +1,10 @@
+all : camfind
+
+CFLAGS:=-g -O4 -DFLT=double -I../../redist -flto
+LDFLAGS:=$(CFLAGS) -lm
+
+camfind : camfind.o ../../redist/linmath.c
+ gcc -o $@ $^ $(LDFLAGS)
+
+clean :
+ rm -rf *.o *~ camfind