(executable
 (name main)
 (modes js wasm)
 (libraries js_of_ocaml-lwt.graphics)
 (preprocess
  (pps js_of_ocaml-ppx)))

(alias
 (name default)
 (deps main.bc.js index.html))

(alias
 (name default)
 (enabled_if %{env:WASM_OF_OCAML=false})
 (deps main.bc.wasm.js))
