(executables (names eval) (libraries ppx_deriving.show js_of_ocaml-compiler js_of_ocaml-toplevel) (link_flags (:standard -linkall)) (preprocess (pps js_of_ocaml-ppx ppx_deriving.show))) (rule (targets export.txt) (deps eval.bc) (action (run jsoo_listunits -o %{targets} stdlib))) (rule (targets eval.js) (action (run %{bin:js_of_ocaml} --export %{dep:export.txt} --toplevel --noruntime %{lib:js_of_ocaml-compiler:runtime.js} %{lib:js_of_ocaml-compiler:toplevel.js} %{lib:js_of_ocaml-compiler:dynlink.js} %{dep:eval.bc} -o %{targets} ))) (alias (name default) (deps eval.js))