mirror of
https://github.com/ProgramSnail/Lama.git
synced 2025-12-06 06:48:48 +00:00
basic compiler integration (with errors, without check)
This commit is contained in:
parent
7c3ff04573
commit
26d2eaa8b3
5 changed files with 31 additions and 3 deletions
|
|
@ -6,12 +6,14 @@
|
|||
(:parser src/parser.cpp)
|
||||
(:analyzer src/analyzer.cpp)
|
||||
(:module_manager src/module_manager.cpp)
|
||||
(:sm_parser src/sm_parser.cpp)
|
||||
(:compiler src/compiler.cpp)
|
||||
(:obj types.o interpreter.o)
|
||||
(:runtime ../runtime/runtime.a))
|
||||
(mode
|
||||
(promote (until-clean)))
|
||||
(action
|
||||
(run g++ -Wall -Wextra -O3 -std=c++20 -DWITH_CHECK -Iinclude/ %{main} %{parser} %{analyzer} %{module_manager} %{runtime} %{obj} -o %{target})))
|
||||
(run g++ -Wall -Wextra -O3 -std=c++20 -DWITH_CHECK -Iinclude/ %{main} %{parser} %{analyzer} %{module_manager} %{sm_parser} %{compiler} %{runtime} %{obj} -o %{target})))
|
||||
|
||||
(rule
|
||||
(target types.o)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue