This commit is contained in:
Mischa Spiegelmock
2018-08-01 17:28:34 +03:00
parent 4966e76b7e
commit 9d69291cf2
2 changed files with 11 additions and 3 deletions

View File

@ -19,7 +19,7 @@ projectW_bc_PROGRAM = projectW.bc
projectW.html: generate-html
generate-html:
emcc $(EMSCRIPTEN_FLAGS) projectW.bc
emcc ALLOW_MEMORY_GROWTH=1 $(EMSCRIPTEN_FLAGS) projectW.bc
run: projectW.html
emrun projectW.html

View File

@ -1,6 +1,14 @@
Building w/ emscripten
Running on the web.
## Crepare
# Easy way:
* `make run`
# Hard way:
## Prepare
* Activate the emsdk (https://github.com/juj/emsdk#installation-instructions)
* make sure you are in the root directory of this project
* on fresh repositories: `./autogen.sh`