mirror of
https://github.com/ProgramSnail/Lama.git
synced 2025-12-06 06:48:48 +00:00
WIP on more dune
Signed-off-by: Kakadu <Kakadu@pm.me>
This commit is contained in:
parent
6761c1d0ef
commit
092d5f2f33
12 changed files with 174 additions and 66 deletions
38
stdlib/x32/dune
Normal file
38
stdlib/x32/dune
Normal file
|
|
@ -0,0 +1,38 @@
|
|||
(rule
|
||||
(targets List.o List.i)
|
||||
(deps
|
||||
(:lama ../List.lama)
|
||||
%{project_root}/runtime32/runtime32.a
|
||||
%{project_root}/runtime32/Std.i)
|
||||
(action
|
||||
(setenv
|
||||
LAMA
|
||||
"../../runtime32"
|
||||
(run
|
||||
%{project_root}/src/Driver.exe
|
||||
-march=x86
|
||||
-I
|
||||
%{project_root}/runtime32
|
||||
-c
|
||||
%{lama}))))
|
||||
|
||||
(rule
|
||||
(targets Array.o Array.i)
|
||||
(deps
|
||||
(:lama ../Array.lama)
|
||||
%{project_root}/runtime32/Std.i
|
||||
List.i
|
||||
List.o)
|
||||
(action
|
||||
(setenv
|
||||
LAMA
|
||||
"../../runtime32"
|
||||
(run
|
||||
%{project_root}/src/Driver.exe
|
||||
-march=x86
|
||||
-I
|
||||
.
|
||||
-I
|
||||
%{project_root}/runtime32
|
||||
-c
|
||||
%{lama}))))
|
||||
Loading…
Add table
Add a link
Reference in a new issue