aboutsummaryrefslogtreecommitdiff
path: root/kernel/byterun/dune
blob: 8d8374a60364c5b46f05968b4d203c7625d3d0a2 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
(library
 (name byterun)
 (synopsis "Coq's Kernel Abstract Reduction Machine [C implementation]")
 (public_name coq.vm)
 (c_flags (:include %{project_root}/config/dune.c_flags))
 (c_names coq_fix_code coq_memory coq_values coq_interp))

(rule
 (targets coq_instruct.h)
 (action (with-stdout-to %{targets} (run ../genOpcodeFiles.exe enum))))

(rule
 (targets coq_jumptbl.h)
 (action (with-stdout-to %{targets} (run ../genOpcodeFiles.exe jump))))