Fixing mac build: negating Darwin ~~> OKaying linux

Signed-off-by: Kakadu <Kakadu@pm.me>
This commit is contained in:
Kakadu 2024-09-05 21:14:49 +03:00
parent 8a8fc3432b
commit cd033ddbe3
8 changed files with 9 additions and 57 deletions

View file

@ -1,7 +1,7 @@
(rule
(targets Expressions.x32.exe)
(enabled_if (<> %{ocaml-config:os_type} "Darwin"))
(enabled_if (= %{ocaml-config:os_type} "linux"))
(deps (:lama Expressions.lama) ../runtime32/runtime.a ../stdlib/x32/Fun.i)
(mode
(promote (until-clean)))
@ -43,7 +43,7 @@
(rule
(targets Functions.x32.exe)
(enabled_if (<> %{ocaml-config:os_type} "Darwin"))
(enabled_if (= %{ocaml-config:os_type} "linux"))
(deps (:lama Functions.lama) ../runtime32/runtime.a ../stdlib/x32/Fun.i)
(mode
(promote (until-clean)))
@ -85,7 +85,7 @@
(rule
(targets Hello.x32.exe)
(enabled_if (<> %{ocaml-config:os_type} "Darwin"))
(enabled_if (= %{ocaml-config:os_type} "linux"))
(deps (:lama Hello.lama) ../runtime32/runtime.a ../stdlib/x32/Fun.i)
(mode
(promote (until-clean)))
@ -127,7 +127,7 @@
(rule
(targets PatternMatching.x32.exe)
(enabled_if (<> %{ocaml-config:os_type} "Darwin"))
(enabled_if (= %{ocaml-config:os_type} "linux"))
(deps (:lama PatternMatching.lama) ../runtime32/runtime.a ../stdlib/x32/Fun.i)
(mode
(promote (until-clean)))
@ -169,7 +169,7 @@
(rule
(targets Values.x32.exe)
(enabled_if (<> %{ocaml-config:os_type} "Darwin"))
(enabled_if (= %{ocaml-config:os_type} "linux"))
(deps (:lama Values.lama) ../runtime32/runtime.a ../stdlib/x32/Fun.i)
(mode
(promote (until-clean)))