lama_byterun/byterun/dune

13 lines
337 B
Text
Raw Normal View History

(rule
(target byterun.exe)
(deps
2024-11-03 12:52:25 +03:00
(:include (source_tree include))
2024-11-02 01:19:54 +03:00
(: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
2024-11-03 12:52:25 +03:00
(run gcc -Iinclude/ -g %{main} %{parser} %{utils} %{runtime} -o %{target})))