mt-polygon-simplification/lib/psimpl-js/Makefile
2019-07-19 19:33:27 +02:00

15 lines
227 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 \
-I ../ \
psimpl.cpp