File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -101,7 +101,7 @@ wa: source/*
101101 $(EMCC ) --shell-file wasm/$(TITLE ) _shell.html -s USE_SDL=2 -s USE_SDL_IMAGE=2 -s SDL2_IMAGE_FORMATS=' ["png"]' -s USE_SDL_MIXER=2 -s SDL2_MIXER_FORMATS=' ["ogg"]' -s USE_SDL_TTF=2 -s ALLOW_MEMORY_GROWTH=1 -s INITIAL_MEMORY=$(WASM_TOTAL_MEMORY ) -s TOTAL_STACK=$(WASM_STACK_MEMORY ) -s WASM=2 --preload-file assets $(FLAGS ) -I $$ {HOME}/code/emsdk/upstream/emscripten/cache/sysroot/include/ -I $$ {HOME}/work/$(TITLE ) /$(TITLE ) /emsdk/upstream/emscripten/cache/sysroot/include/ -I /builds/ryanpcmcquen/$(TITLE ) /emsdk/upstream/emscripten/cache/sysroot/include/ source/$(TITLE ) .c -o wasm/$(TITLE ) .html
102102
103103wasm : source/*
104- $(EMCC ) --shell-file wasm/$(TITLE ) _shell.html -O3 --closure 1 -s USE_SDL=2 -s USE_SDL_IMAGE=2 -s SDL2_IMAGE_FORMATS=' ["png"]' -s USE_SDL_MIXER=2 -s SDL2_MIXER_FORMATS=' ["ogg"]' -s USE_SDL_TTF=2 -s ALLOW_MEMORY_GROWTH=1 -s INITIAL_MEMORY=$(WASM_TOTAL_MEMORY ) -s TOTAL_STACK=$(WASM_STACK_MEMORY ) -s WASM=2 -s EXTRA_EXPORTED_RUNTIME_METHODS =allocate --preload-file assets $(FLAGS ) -I $$ {HOME}/code/emsdk/upstream/emscripten/cache/sysroot/include/ -I $$ {HOME}/work/$(TITLE ) /$(TITLE ) /emsdk/upstream/emscripten/cache/sysroot/include/ -I /builds/ryanpcmcquen/$(TITLE ) /emsdk/upstream/emscripten/cache/sysroot/include/ source/$(TITLE ) .c -o wasm/$(TITLE ) .html
104+ $(EMCC ) --shell-file wasm/$(TITLE ) _shell.html -O3 --closure 1 -s USE_SDL=2 -s USE_SDL_IMAGE=2 -s SDL2_IMAGE_FORMATS=' ["png"]' -s USE_SDL_MIXER=2 -s SDL2_MIXER_FORMATS=' ["ogg"]' -s USE_SDL_TTF=2 -s ALLOW_MEMORY_GROWTH=1 -s INITIAL_MEMORY=$(WASM_TOTAL_MEMORY ) -s TOTAL_STACK=$(WASM_STACK_MEMORY ) -s WASM=2 -s EXPORTED_RUNTIME_METHODS =allocate --preload-file assets $(FLAGS ) -I $$ {HOME}/code/emsdk/upstream/emscripten/cache/sysroot/include/ -I $$ {HOME}/work/$(TITLE ) /$(TITLE ) /emsdk/upstream/emscripten/cache/sysroot/include/ -I /builds/ryanpcmcquen/$(TITLE ) /emsdk/upstream/emscripten/cache/sysroot/include/ source/$(TITLE ) .c -o wasm/$(TITLE ) .html
105105 zip -r $(TITLE ) .wasm.zip wasm/*
106106
107107wasmdebug : source/*
You can’t perform that action at this time.
0 commit comments