blob: 05c6bba401ada0bd648ac5e432c316330695c47b [file] [log] [blame]
cc = emcc
cxx = em++
cflags = -g3 -s WASM=1
ldflags = -g3 -s WASM=1 --embed-file profiles --emrun
exe = .html
out = out/emscripten$mode
# Run only when emrun is on your PATH, i.e. not on the bots.
rule run
command = if which emrun >/dev/null; $
then $
emrun $in > $out; $
else touch $out; fi
description = run $in
include build/common
disabled = (uname | grep -qv Linux)