Full front-end rewrite
This commit is contained in:
@@ -1,7 +1,7 @@
|
||||
.PHONY: help
|
||||
help:
|
||||
@echo
|
||||
@echo "Virtual Boy Emulator - September 30, 2021"
|
||||
@echo "Virtual Boy Emulator - April 14, 2022"
|
||||
@echo
|
||||
@echo "Target build environment is any Debian with the following packages:"
|
||||
@echo " emscripten"
|
||||
@@ -31,7 +31,7 @@ bundle:
|
||||
|
||||
.PHONY: clean
|
||||
clean:
|
||||
@rm -f vbemu_*.html core.wasm
|
||||
@rm -f vbemu_*.html app/core/core.wasm
|
||||
|
||||
.PHONY: core
|
||||
core:
|
||||
@@ -42,7 +42,9 @@ core:
|
||||
|
||||
.PHONY: wasm
|
||||
wasm:
|
||||
@emcc -o core.wasm wasm/wasm.c core/vb.c -Icore -D VB_LITTLEENDIAN \
|
||||
--no-entry -O2 -flto -s WASM=1 -s EXPORTED_RUNTIME_METHODS=[] \
|
||||
-s ALLOW_MEMORY_GROWTH -s MAXIMUM_MEMORY=4GB -fno-strict-aliasing
|
||||
@rm -f *.wasm.tmp*
|
||||
@emcc -o app/core/core.wasm wasm/wasm.c core/vb.c -Icore \
|
||||
-D VB_LITTLEENDIAN --no-entry -O2 -flto -s WASM=1 \
|
||||
-D "VB_EXPORT=__attribute__((used))" \
|
||||
-s EXPORTED_RUNTIME_METHODS=[] -s ALLOW_MEMORY_GROWTH \
|
||||
-s MAXIMUM_MEMORY=4GB -fno-strict-aliasing
|
||||
@rm -f app/core/*.wasm.tmp*
|
||||
|
||||
Reference in New Issue
Block a user