- Python 2.x
- a recent Emscripten SDK
- Node.js and npm to run the mocha-based tests
test/runner.htmlruns the Mocha tests in the browser.
test/tests.jsis the source code for the test cases themselves.
Follow the instructions from the Emscripten tutorial to get Emscripten ready to run.
emcc is on your
$PATH somewhere, use the
To rebuild everything:
make veryclean all
This will completely remove any compilation products, and recompile everything.
Other Makefile targets:
make test: builds the library if necessary and then runs the test suite using node.js.
make veryclean: as
make clean, but also removes the contents of the
make all: performs all the build steps.
If you for some reason need to use a different python than
PYTHON makefile variable; for example,
EMCC to the path to your
emcc binary if it's not on
will be in