diff options
author | lamp | 2023-03-05 21:25:03 +0000 |
---|---|---|
committer | lamp | 2023-03-05 21:25:03 +0000 |
commit | b6e7e454ed6242475163dcd534051897d3c9158c (patch) | |
tree | 8e923fed21eac6190999de9f4adee76d0f75c10f /build.sh |
initmain
Diffstat (limited to 'build.sh')
-rwxr-xr-x | build.sh | 12 |
1 files changed, 12 insertions, 0 deletions
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 |