summaryrefslogtreecommitdiff
path: root/build.sh
diff options
context:
space:
mode:
Diffstat (limited to 'build.sh')
-rw-r--r--build.sh9
1 files changed, 9 insertions, 0 deletions
diff --git a/build.sh b/build.sh
new file mode 100644
index 0000000..2d075a7
--- /dev/null
+++ b/build.sh
@@ -0,0 +1,9 @@
+#!/usr/bin/env sh
+
+CFLAGS="-Wall -Wextra -fsanitize=address -fsanitize=undefined -std=c11 -ggdb -lraylib"
+SRC="main.c"
+OUT="flock.out"
+
+set -xe
+
+cc $CFLAGS -o $OUT $SRC;