aboutsummaryrefslogtreecommitdiff
path: root/tools/planetest2/Makefile
diff options
context:
space:
mode:
authorcnlohr <lohr85@gmail.com>2016-12-15 02:13:43 -0500
committercnlohr <lohr85@gmail.com>2016-12-15 02:13:43 -0500
commit69bb821947118bf18456cd309c9e6ac4420c6f31 (patch)
tree3e95f477b4aa655cec808407e0b8a8302e47be39 /tools/planetest2/Makefile
parentf7fe8f908f743e9cc287d0efc5dd5db8c41fc38f (diff)
downloadlibsurvive-69bb821947118bf18456cd309c9e6ac4420c6f31.tar.gz
libsurvive-69bb821947118bf18456cd309c9e6ac4420c6f31.tar.bz2
Get a little closer. Rotational optimizer "looks" like it's working, but don't know why it's not.
Diffstat (limited to 'tools/planetest2/Makefile')
-rw-r--r--tools/planetest2/Makefile4
1 files changed, 2 insertions, 2 deletions
diff --git a/tools/planetest2/Makefile b/tools/planetest2/Makefile
index 2c16261..dd19480 100644
--- a/tools/planetest2/Makefile
+++ b/tools/planetest2/Makefile
@@ -1,7 +1,7 @@
all : camfind
-CFLAGS:=-g -O4 -DFLT=float -ffast-math
-LDFLAGS:=$(CFLAGS) -lm
+CFLAGS:=-g -O4 -DFLT=float -ffast-math -I../../redist -flto
+LDFLAGS:=$(CFLAGS) -lm
camfind : camfind.o ../../redist/linmath.c
gcc -o $@ $^ $(LDFLAGS)