aboutsummaryrefslogtreecommitdiff
path: root/bootstrap/build.sh
diff options
context:
space:
mode:
authorlemon <lsof@mailbox.org>2022-08-03 20:24:47 +0200
committerlemon <lsof@mailbox.org>2022-08-03 20:24:47 +0200
commit1625c50f0c0e4b1c7ba01a5df5713efaf6dce606 (patch)
treebc5f24811413749b776964c1bbdec13a46dd9768 /bootstrap/build.sh
initial
Diffstat (limited to 'bootstrap/build.sh')
-rwxr-xr-xbootstrap/build.sh10
1 files changed, 10 insertions, 0 deletions
diff --git a/bootstrap/build.sh b/bootstrap/build.sh
new file mode 100755
index 0000000..741f3aa
--- /dev/null
+++ b/bootstrap/build.sh
@@ -0,0 +1,10 @@
+#!/bin/env sh
+
+if [ x"$CC" == x ]; then
+ export CC=cc
+fi
+export CFLAGS="-Wall -Wno-multichar -g"
+
+set -x
+
+$CC $CFLAGS -o cff0 *.c