mirror of
https://github.com/ProgramSnail/Lama.git
synced 2025-12-31 19:18:18 +00:00
fixes, cleanup, some copies removed
This commit is contained in:
parent
2589f6166f
commit
d90a8cf89f
16 changed files with 373 additions and 666 deletions
26
byterun/dune
26
byterun/dune
|
|
@ -5,7 +5,7 @@
|
|||
(:main src/cli.cpp)
|
||||
(:parser src/parser.cpp)
|
||||
(:analyzer src/analyzer.cpp)
|
||||
(:obj types.o parser.o interpreter.o)
|
||||
(:obj types.o interpreter.o)
|
||||
(:runtime ../runtime/runtime.a))
|
||||
(mode
|
||||
(promote (until-clean)))
|
||||
|
|
@ -19,7 +19,7 @@
|
|||
(:main src/cli.cpp)
|
||||
(:parser src/parser.cpp)
|
||||
(:analyzer src/analyzer.cpp)
|
||||
(:obj old_types.o old_parser.o old_interpreter.o)
|
||||
(:obj old_types.o old_interpreter.o)
|
||||
(:runtime ../runtime/runtime.a))
|
||||
(mode
|
||||
(promote (until-clean)))
|
||||
|
|
@ -37,17 +37,6 @@
|
|||
(action
|
||||
(run gcc -Iinclude/ -DWITH_CHECK -c %{src} -o %{target})))
|
||||
|
||||
(rule
|
||||
(target parser.o)
|
||||
(deps
|
||||
(:include (source_tree include))
|
||||
(:src src/parser.c)
|
||||
(:runtime ../runtime/runtime.a))
|
||||
(mode
|
||||
(promote (until-clean)))
|
||||
(action
|
||||
(run gcc -Iinclude/ -DWITH_CHECK -c %{src} -o %{target})))
|
||||
|
||||
(rule
|
||||
(target interpreter.o)
|
||||
(deps
|
||||
|
|
@ -70,17 +59,6 @@
|
|||
(action
|
||||
(run gcc -Iinclude/ -c %{src} -o %{target})))
|
||||
|
||||
(rule
|
||||
(target old_parser.o)
|
||||
(deps
|
||||
(:include (source_tree include))
|
||||
(:src src/parser.c)
|
||||
(:runtime ../runtime/runtime.a))
|
||||
(mode
|
||||
(promote (until-clean)))
|
||||
(action
|
||||
(run gcc -Iinclude/ -c %{src} -o %{target})))
|
||||
|
||||
(rule
|
||||
(target old_interpreter.o)
|
||||
(deps
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue