Add build scripts for development
This commit is contained in:
parent
ad5d76d3cc
commit
36a4c04a5b
3
build
Executable file
3
build
Executable file
@ -0,0 +1,3 @@
|
||||
#!/bin/bash
|
||||
|
||||
bear -- ./compile $@
|
16
compile
Executable file
16
compile
Executable file
@ -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)
|
Loading…
x
Reference in New Issue
Block a user