Project

General

Profile

Download (771 Bytes) Statistics
| Branch: | Tag: | Revision:
1 57c96fb7 Lélio Brun
; 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 ca7ff3f7 Lélio Brun
 (action
8
  (run lustrec -verbose 0 -I . -d . %{dep:conv.lusi}))
9 57c96fb7 Lélio Brun
 (alias install))
10
11
(rule
12 971a4d81 Lélio Brun
 (targets simulink_math_fcn.lusic simulink_math_fcn.h)
13 ca7ff3f7 Lélio Brun
 (action
14
  (run lustrec -verbose 0 -I . -d . %{dep:simulink_math_fcn.lusi}))
15 57c96fb7 Lélio Brun
 (alias install))
16
17
(rule
18 971a4d81 Lélio Brun
 (targets lustrec_math.lusic lustrec_math.h)
19 ca7ff3f7 Lélio Brun
 (action
20
  (run lustrec -verbose 0 -I . -d . %{dep:lustrec_math.lusi}))
21 57c96fb7 Lélio Brun
 (alias install))
22
23
(rule
24 971a4d81 Lélio Brun
 (targets mpfr_lustre.lusic mpfr_lustre.h)
25 ca7ff3f7 Lélio Brun
 (action
26
  (run lustrec -verbose 0 -mpfr 1 -d . %{dep:mpfr_lustre.lusi}))
27 57c96fb7 Lélio Brun
 (alias install))