(library
 (name jsoo_runtime)
 (libraries js_of_ocaml-compiler)
 (public_name js_of_ocaml-compiler.runtime))

(rule
 (target files.ml)
 (deps
  gen/gen.exe
  (glob_files ../../runtime/*.js))
 (action
  (with-stdout-to
   %{target}
   (run %{deps}))))
