We can codegen now

This commit is contained in:
2026-02-24 20:07:02 +11:00
parent 2266990cb4
commit 0613fcd957
6 changed files with 128 additions and 4 deletions

View File

@@ -10,7 +10,7 @@ if [[ ! -v CFLAGS ]]; then
CFLAGS="-O3 -Wall -Wextra -pedantic"
fi
gcc "$0" -o "$OUTPUT" $CFLAGS
gcc "$0" -o "$OUTPUT" $CFLAGS -lgroundvm
if not [ $# -lt 1 ]; then
exec "./$OUTPUT" "$@"
@@ -43,7 +43,7 @@ exit
#include "src/parser/parser.c"
// -- CODEGEN --
#include "src/codegen/codegen.c"
// -- MAIN --
#include "src/main.c"