WIP on more dune

Signed-off-by: Kakadu <Kakadu@pm.me>
This commit is contained in:
Kakadu 2024-08-30 00:35:31 +03:00
parent 6761c1d0ef
commit 092d5f2f33
12 changed files with 174 additions and 66 deletions

19
tutorial/dune Normal file
View file

@ -0,0 +1,19 @@
(rule
(targets Hello.exe)
(deps Hello.lama)
(mode
(promote (until-clean)))
(action
(setenv
LAMA
"../runtime32"
(run
%{project_root}/src/Driver.exe
%{deps}
-march=x86
-I
../stdlib/x32
-I
../runtime32
-o
%{targets}))))