diff --git a/build b/build new file mode 100755 index 0000000..cd3a103 --- /dev/null +++ b/build @@ -0,0 +1,3 @@ +#!/bin/bash + +bear -- ./compile $@ diff --git a/compile b/compile new file mode 100755 index 0000000..0c3e4b1 --- /dev/null +++ b/compile @@ -0,0 +1,16 @@ +#!/bin/bash + +CC=clang +INCLUDE="\ + -Ialiases \ + -Icpath/include \ + -Idstr/include \ +" +SRC="\ + cpath/src/*.c \ + dstr/src/*.c \ +" +CFLAGS="-shared -fPIC -Wall -Werror -pedantic" +OUT="libwizapp.so" + +(set -x ; $CC $CFLAGS $INCLUDE $SRC -o $OUT)