1 ;**************************************************************************
2 ;* *
3 ;* OCaml *
4 ;* *
5 ;* Thomas Refis, Jane Street Europe *
6 ;* *
7 ;* Copyright 2018 Jane Street Group LLC *
8 ;* *
9 ;* All rights reserved. This file is distributed under the terms of *
10 ;* the GNU Lesser General Public License version 2.1, with the *
11 ;* special exception on linking described in the file LICENSE. *
12 ;* *
13 ;**************************************************************************
14
15 (rule
16 (targets runtimedef.ml)
17 (mode fallback)
18 (deps (:fail (file ../runtime/caml/fail.h))
19 (:prim (file ../runtime/primitives)))
20 (action (with-stdout-to %{targets}
21 (run ./generate_runtimedef.sh %{fail} %{prim}))))
22