UNPKG
wasm4
Version:
latest (2.7.1)
2.7.1
2.7.0
2.6.2
2.6.1
2.6.0
2.5.4
2.5.3
2.5.2
2.5.1
2.5.0
2.4.0
2.3.2
2.3.1
2.3.0
2.2.0
2.1.0
2.0.0
1.1.0
1.0.8
1.0.7
1.0.6
1.0.5
1.0.4
1.0.3
1.0.2
1.0.1
1.0.0
Build retro games using WebAssembly for a fantasy console.
wasm4.org
aduros/wasm4
wasm4
/
assets
/
templates
/
odin
/
Makefile
4 lines
(3 loc)
•
275 B
Plain Text
View Raw
1
2
3
4
build/cart.wasm: src/*.odin @-
mkdir
-p build odin build src -out:build/cart.wasm -target:freestanding_wasm32 -no-entry-point -extra-linker-flags:
"--import-memory -zstack-size=14752 --initial-memory=65536 --max-memory=65536 --stack-first --lto-O3 --gc-sections --strip-all"