build fixes

This commit is contained in:
ProgramSnail 2024-11-03 12:52:25 +03:00
parent e17f1f70ed
commit da050c082c
4 changed files with 7 additions and 8 deletions

View file

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