diff --git a/.vim.local/scripts/build-config b/.vim.local/scripts/build-config new file mode 100644 index 0000000..aa7f24c --- /dev/null +++ b/.vim.local/scripts/build-config @@ -0,0 +1,12 @@ +# vim: syntax=make + +BUILD_STATIC_LIB = n +BUILD_DYNAMIC_LIB = y +DEBUG = y +OPTIMIZE = n +BUILD_TESTS = y + +OUTDIR = output + +export BUILD_STATIC_LIB BUILD_DYNAMIC_LIB DEBUG OPTIMIZE BUILD_TESTS +export OUTDIR diff --git a/.vim.local/scripts/vimmake.build b/.vim.local/scripts/vimmake.build index e23cbe2..543189c 100755 --- a/.vim.local/scripts/vimmake.build +++ b/.vim.local/scripts/vimmake.build @@ -1,2 +1,2 @@ #!/bin/sh -make -j 8 all +make -j 8 all CONFIG=.vim.local/scripts/build-config diff --git a/.vim.local/scripts/vimmake.clean b/.vim.local/scripts/vimmake.clean index 20fc175..689e273 100755 --- a/.vim.local/scripts/vimmake.clean +++ b/.vim.local/scripts/vimmake.clean @@ -1,2 +1,2 @@ #!/bin/sh -make fullclean +make fullclean CONFIG=.vim.local/scripts/build-config diff --git a/.vim.local/scripts/vimmake.rebuild b/.vim.local/scripts/vimmake.rebuild index 5d01929..569113b 100755 --- a/.vim.local/scripts/vimmake.rebuild +++ b/.vim.local/scripts/vimmake.rebuild @@ -1,3 +1,3 @@ #!/bin/sh -make fullclean -make -j 8 all +make fullclean CONFIG=.vim.local/scripts/build-config +make -j 8 all CONFIG=.vim.local/scripts/build-config diff --git a/.vim.local/scripts/vimmake.test b/.vim.local/scripts/vimmake.test index a73482c..ea3098d 100755 --- a/.vim.local/scripts/vimmake.test +++ b/.vim.local/scripts/vimmake.test @@ -1,5 +1,5 @@ #!/bin/bash -if make -j 8 all; then +if make -j 8 all CONFIG=.vim.local/scripts/build-config; then if [ "$VIM_RELDIR" = "tests" ] && [ "$VIM_FILEEXT" = ".cc" ]; then if [ -f "output/fast/test-$VIM_FILENOEXT" ]; then LD_LIBRARY_PATH=./output \