summaryrefslogtreecommitdiff
path: root/build.sh
diff options
context:
space:
mode:
Diffstat (limited to 'build.sh')
-rwxr-xr-x[-rw-r--r--]build.sh11
1 files changed, 11 insertions, 0 deletions
diff --git a/build.sh b/build.sh
index e69de29..29b4092 100644..100755
--- a/build.sh
+++ b/build.sh
@@ -0,0 +1,11 @@
1#!/bin/sh
2
3CC=cc
4SRC=./source/scb/scb.c
5OUT=./build/scb
6
7CFLAGS="-Wall -Wextra -Werror -Wpedantic -O0 -g -Wno-unused-function"
8
9mkdir -p ./build
10
11$CC $CFLAGS "$SRC" -o "$OUT"