forked from ocaml/ocaml
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathdune
More file actions
23 lines (22 loc) · 1.18 KB
/
Copy pathdune
File metadata and controls
23 lines (22 loc) · 1.18 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
;**************************************************************************
;* *
;* OCaml *
;* *
;* Thomas Refis, Jane Street Europe *
;* *
;* Copyright 2018 Jane Street Group LLC *
;* *
;* All rights reserved. This file is distributed under the terms of *
;* the GNU Lesser General Public License version 2.1, with the *
;* special exception on linking described in the file LICENSE. *
;* *
;**************************************************************************
(rule
(target opcodes.ml)
(mode fallback)
(deps ../runtime/caml/opcodes.h)
(action
(with-stdout-to %{target}
(system
"%{read-lines:../build-aux/cpp} -I ../runtime %{dep:opcodes.ml.c}"
))))