mirror of
https://github.com/ioquake/ioq3.git
synced 2025-02-21 11:11:20 +00:00
Fix build when specifying PLATFORM=emscripten manually instead of using emmake
This commit is contained in:
parent
2765cd5398
commit
6fe061c36e
1 changed files with 3 additions and 1 deletions
4
Makefile
4
Makefile
|
@ -1064,7 +1064,9 @@ ifeq ($(PLATFORM),emscripten)
|
|||
# 5. Serve the build/release-emscripten-wasm32/ioquake3_opengl2.{html,js,wasm,data} from a web server.
|
||||
# 6. Load ioquake3_opengl2.html in a web browser.
|
||||
|
||||
CC=emcc
|
||||
ifneq ($(findstring /emcc,$(CC)),/emcc)
|
||||
CC=emcc
|
||||
endif
|
||||
ARCH=wasm32
|
||||
BINEXT=.js
|
||||
|
||||
|
|
Loading…
Reference in a new issue