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

(rule
 (targets boat.ml boat_main.ml)
 (deps
  (:zl boat.zls)
  utils.zli
  (sandbox always))
 (action
  (run probzeluc -deps -I `zeluc -where`-io -s main -o boat_main %{zl})))

(rule
 (targets kalman.ml kalman_main.ml)
 (deps
  (:zl kalman.zls)
  utils.zli
  (sandbox always))
 (action
  (run probzeluc -deps -I `zeluc -where`-io -s main -o kalman_main %{zl})))

(rule
 (targets hmm.ml hmm_main.ml)
 (deps
  (:zl hmm.zls)
  utils.zli
  (sandbox always))
 (action
  (run probzeluc -deps -I `zeluc -where`-io -s main -o hmm_main %{zl})))

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