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