Project

General

Profile

Download (771 Bytes) Statistics
| Branch: | Tag: | Revision:
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
8
  (run lustrec -verbose 0 -I . -d . %{dep:conv.lusi}))
9
 (alias install))
10

    
11
(rule
12
 (targets simulink_math_fcn.lusic simulink_math_fcn.h)
13
 (action
14
  (run lustrec -verbose 0 -I . -d . %{dep:simulink_math_fcn.lusi}))
15
 (alias install))
16

    
17
(rule
18
 (targets lustrec_math.lusic lustrec_math.h)
19
 (action
20
  (run lustrec -verbose 0 -I . -d . %{dep:lustrec_math.lusi}))
21
 (alias install))
22

    
23
(rule
24
 (targets mpfr_lustre.lusic mpfr_lustre.h)
25
 (action
26
  (run lustrec -verbose 0 -mpfr 1 -d . %{dep:mpfr_lustre.lusi}))
27
 (alias install))
(10-10/20)