14 lines
216 B
Makefile
14 lines
216 B
Makefile
|
OPTIMIZE="-O3"
|
||
|
|
||
|
psimpl.wasm psimpl.js: psimpl.cpp
|
||
|
emcc \
|
||
|
${OPTIMIZE} \
|
||
|
--bind \
|
||
|
--closure 1 \
|
||
|
-s WASM=1 \
|
||
|
-s ALLOW_MEMORY_GROWTH=1 \
|
||
|
-s MODULARIZE=1 \
|
||
|
-s EXPORT_ES6=1 \
|
||
|
-o psimpl.js \
|
||
|
psimpl.cpp
|