aboutsummaryrefslogtreecommitdiffstats
path: root/build.sh
diff options
context:
space:
mode:
Diffstat (limited to 'build.sh')
-rwxr-xr-xbuild.sh5
1 files changed, 5 insertions, 0 deletions
diff --git a/build.sh b/build.sh
index 6a05260..c55c316 100755
--- a/build.sh
+++ b/build.sh
@@ -1,5 +1,10 @@
#!/bin/sh -ex
+export SH_BUILD=1
+
+if [ -f "./config.local" ]; then
+ . ./config.local
+fi
. out/config.sh
$CC $CFLAGS -o out/util.o -c src/util.c
$CC $CFLAGS -o out/build.o -c src/build.c