1 2 3 4 5 6 7 8 9 10 11 12 13
(library (name bindings) (libraries bindgen)) (rule (alias gen_bindings) (deps celeritas.h) (targets bindings_sys.ml caml_bindings.c) (action (run %{bin:ocaml-bindgen} celeritas.h bindings) ) (mode (promote (until-clean))))