wizapp-stdlib/compile

17 lines
239 B
Bash
Executable File

#!/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)