part of operations, migration to 1.30

This commit is contained in:
ProgramSnail 2024-11-02 01:19:54 +03:00
parent 2c03654cca
commit e17f1f70ed
8 changed files with 166 additions and 137 deletions

View file

@ -1,9 +1,11 @@
(rule
(target byterun.exe)
(deps
(:main byterun.c)
(:main src/cli.c src/interpreter.c)
(:parser src/parser.c)
(:utils src/utils.c src/types.c src/stack.c)
(:runtime ../runtime/runtime.a))
(mode
(promote (until-clean)))
(action
(run gcc -g %{main} %{runtime} -o %{target})))
(run gcc -g -Iinclude/ %{main} %{runtime} -o %{target})))