4coder/site/build.sh

11 lines
206 B
Bash
Raw Normal View History

2016-11-22 18:26:58 +00:00
#!/bin/bash
WARNINGS="-Wno-write-strings"
FLAGS="-D_GNU_SOURCE -fPIC -fpermissive -DSITE_BUILD"
2016-11-22 18:26:58 +00:00
pushd ..
BASEDIR="$PWD"
g++ $WARNINGS $FLAGS $BASEDIR/build.cpp -g -o ../build/build
popd
../../build/build