From b6e7e454ed6242475163dcd534051897d3c9158c Mon Sep 17 00:00:00 2001 From: lamp Date: Sun, 5 Mar 2023 21:25:03 +0000 Subject: init --- build.sh | 12 ++++++++++++ 1 file changed, 12 insertions(+) create mode 100755 build.sh (limited to 'build.sh') diff --git a/build.sh b/build.sh new file mode 100755 index 0000000..1f56aec --- /dev/null +++ b/build.sh @@ -0,0 +1,12 @@ +#!/bin/bash + +shopt -s globstar + +CC="lcc" +OUT_NAME="out.gb" + +if $CC -o "$OUT_NAME" -Iinclude src/**/*.c; then + echo "Emitted: $OUT_NAME" +else + echo "Build Failed" +fi -- cgit v1.2.3