aboutsummaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
authorJustin Berger <j.david.berger@gmail.com>2018-04-04 10:42:51 -0600
committerJustin Berger <j.david.berger@gmail.com>2018-04-04 10:42:51 -0600
commitd6d310fdd13c11382f37faca6a0c20b361ae9c40 (patch)
tree467255b0c0718f58e4b89a110fa1477d1d81dd8f /Makefile
parentd438c5b16f42700c8ff541269759d6c585959729 (diff)
downloadlibsurvive-d6d310fdd13c11382f37faca6a0c20b361ae9c40.tar.gz
libsurvive-d6d310fdd13c11382f37faca6a0c20b361ae9c40.tar.bz2
Added python binding
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile5
1 files changed, 3 insertions, 2 deletions
diff --git a/Makefile b/Makefile
index 8493f18..7532dce 100644
--- a/Makefile
+++ b/Makefile
@@ -2,12 +2,13 @@ all : lib data_recorder test calibrate calibrate_client simple_pose_test
CC?=gcc
-CFLAGS:=-Iinclude/libsurvive -fPIC -g -O3 -Iredist -flto -DUSE_DOUBLE -std=gnu99 -rdynamic -llapacke -lcblas -lm #-fsanitize=address -fsanitize=undefined -Wall -Wno-unused-variable -Wno-switch -Wno-unused-but-set-variable -Wno-pointer-sign -Wno-parentheses
+
+CFLAGS:=-Iinclude/libsurvive -fPIC -g -O3 -Iredist -flto -DUSE_DOUBLE -std=gnu99 -rdynamic #-fsanitize=address -fsanitize=undefined -Wall -Wno-unused-variable -Wno-switch -Wno-unused-but-set-variable -Wno-pointer-sign -Wno-parentheses
CFLAGS_RELEASE:=-Iinclude/libsurvive -fPIC -msse2 -ftree-vectorize -O3 -Iredist -flto -DUSE_DOUBLE -std=gnu99 -rdynamic -llapacke -lcblas -lm
#LDFLAGS:=-L/usr/local/lib -lpthread -lusb-1.0 -lz -lm -flto -g
-LDFLAGS:=-L/usr/local/lib -lpthread -lz -lm -flto -g
+LDFLAGS:=-L/usr/local/lib -lpthread -lz -llapacke -lcblas -lm -flto -g
#----------
# Platform specific changes to CFLAGS/LDFLAGS