We can codegen now
This commit is contained in:
4
build.c
4
build.c
@@ -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"
|
||||
|
||||
Reference in New Issue
Block a user