(env
 (dev
  (flags
   (:standard -warn-error -A -w -a))))

(rule
 (targets hmm.ml hmm_main.ml)
 (deps
  (:zl hmm.zls)
  rppl.zli)
 (action
  (bash "zeluc -deps -copy -I `zeluc -where`-io -s main -o hmm_main %{zl}")))

(executables
 (names hmm_main)
 (promote (until-clean))
 (libraries zelus zelus-io owl))
