projects
/
convexer.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
model view prototype
[convexer.git]
/
build.sh
diff --git
a/build.sh
b/build.sh
index 6cf104cdab8285be63d89bdbb367b719fc65daf5..c5a1a51fb66fc70af83e3d888876cf72ab7f07b5 100755
(executable)
--- a/
build.sh
+++ b/
build.sh
@@
-65,7
+65,7
@@
fi
mkdir -p nbvtf/obj
compile $C -O1 -ggdb -fPIC -shared \
-Wall -Wno-unused-variable -Wno-unused-function -std=c99 -pedantic \
mkdir -p nbvtf/obj
compile $C -O1 -ggdb -fPIC -shared \
-Wall -Wno-unused-variable -Wno-unused-function -std=c99 -pedantic \
- -DCXR_SO -DCXR_DEBUG -DCXR_VALVE_MAP_FILE \
+ -DCXR_SO -DCXR_DEBUG -DCXR_VALVE_MAP_FILE
-DCXR_VALVE_BIN
\
-xc cxr/cxr.h \
-o libcxr$lib_ext \
-lm
-xc cxr/cxr.h \
-o libcxr$lib_ext \
-lm
@@
-96,8
+96,9
@@
compile $C -O3 \
-lm
# This is for testing with asan on linux
-lm
# This is for testing with asan on linux
-# compile gcc -ggdb -O1 -Wall \
-# -Wno-unused-variable -Wno-unused-function $asan -Werror=vla \
-# cxr/test.c \
-# -o test$exe_ext \
-# -lm
+compile $C -ggdb -O1 -Wall \
+ -Wno-unused-variable -Wno-unused-function $asan -Werror=vla \
+ -DCXR_SO -DCXR_DEBUG -DCXR_VALVE_MAP_FILE \
+ cxr/test.c \
+ -o test$exe_ext \
+ -lm