Commit 89c4d846954c5d5319c992959ddeb625b0ba3a7d

tokyovania 2022-08-12T15:43:10

add install cov and asan option

diff --git a/install_asan b/install_asan
new file mode 100755
index 0000000..daee5bf
--- /dev/null
+++ b/install_asan
@@ -0,0 +1,7 @@
+#!/bin/sh
+export CFLAGS="-fsanitize=address -O1 -fno-omit-frame-pointer -g"
+export CXXFLAGS="-fsanitize=address -O1 -fno-omit-frame-pointer -g"
+export LDFLAGS="-fsanitize=address -O1 -fno-omit-frame-pointer -g"
+./configure
+make clean
+make install
\ No newline at end of file
diff --git a/install_cov b/install_cov
new file mode 100755
index 0000000..3c9b69e
--- /dev/null
+++ b/install_cov
@@ -0,0 +1,7 @@
+#!/bin/sh
+export CFLAGS="-ftest-coverage -fprofile-arcs"
+export CXXFLAGS="-ftest-coverage -fprofile-arcs"
+export LDFLAGS="-ftest-coverage -fprofile-arcs"
+./configure
+make clean
+make install
\ No newline at end of file