chiark / gitweb /
Makefile cleanups for webstead
authorBen Harris <bjh21@bjh21.me.uk>
Sat, 4 Oct 2025 22:27:17 +0000 (23:27 +0100)
committerBen Harris <bjh21@bjh21.me.uk>
Tue, 13 Jan 2026 21:42:18 +0000 (21:42 +0000)
commit0e23fc66583d6372cc54e00b297408b8adcf71a2
treedc540c768a6feb7a106dff5340f679f1dee32274
parentc99994e91d4e11e16e773c4225157f97c64a831f
Makefile cleanups for webstead

Add -sINCOMING_MODULE_JS_API because in newer Emscripten -sSTRICT
empties it.  Remove -sMODULARIZE because -sEXPORT_ES6 implies it.  Add
-O2 since the compiled code will probably be run more than once.  Pass
standard compiler flags to emcc.  Build bedstead.js in all-web, and
remove it in clean.
Makefile