4
This is a helper script. It runs make for you, setting
5
the environment variables to use emcc and so forth. Usage:
9
Not that if you ran configure with emconfigure, then
10
the environment variables have already been detected
11
and set. This script is useful if you have no configure
12
step, and your Makefile uses the environment vars
15
The difference between this and emconfigure is that
16
emconfigure runs compilation into native code, so
17
that configure tests pass. emmake uses Emscripten to
22
from tools import shared
23
from subprocess import CalledProcessError
26
shared.Building.make(sys.argv[1:])
27
except CalledProcessError, e:
28
sys.exit(e.returncode)