1
|
; too bad we have to repeat the same rule three times...
|
2
|
; The make-like behavior if still unsupported by dune
|
3
|
; (see https://discuss.ocaml.org/t/dune-copy-multiple-dependencies-to-build-directory-in-rule-stanza/4144/5)
|
4
|
|
5
|
(rule
|
6
|
(target conv.lusic)
|
7
|
(action (run lustrec -verbose 0 -I . -d . %{dep:conv.lusi}))
|
8
|
(alias install))
|
9
|
|
10
|
(rule
|
11
|
(targets simulink_math_fcn.lusic simulink_math_fcn.h)
|
12
|
(action (run lustrec -verbose 0 -I . -d . %{dep:simulink_math_fcn.lusi}))
|
13
|
(alias install))
|
14
|
|
15
|
(rule
|
16
|
(targets lustrec_math.lusic lustrec_math.h)
|
17
|
(action (run lustrec -verbose 0 -I . -d . %{dep:lustrec_math.lusi}))
|
18
|
(alias install))
|
19
|
|
20
|
(rule
|
21
|
(targets mpfr_lustre.lusic mpfr_lustre.h)
|
22
|
(action (run lustrec -verbose 0 -mpfr 1 -d . %{dep:mpfr_lustre.lusi}))
|
23
|
(alias install))
|