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 opcodes.ml)
17 (mode fallback)
18 (deps (:instr (file ../runtime/caml/instruct.h)))
19 (action
20 (bash "%{dep:../tools/make_opcodes.exe} -opcodes < %{instr} > %{targets}")))
21