#!/bin/sh
echo --- Preprocessing $1 ..
../velcro/precompile $1
echo --- Building dependancies for $1
cat $1.depends | ../velcro/epl ../velcro/build
echo --- Building $1 
g++ -g -Wall -DDYNAMIC_LINKING -fPIC -DPIC -shared -export-dynamic -I../extras/regexp/include -I../include -o $1.so $1.cc
echo --- Done building $1
