-
-
Notifications
You must be signed in to change notification settings - Fork 27
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #489 from Interlisp/fgh_em-build-01
Add Emscripten build to buildRelease workflow
- Loading branch information
Showing
4 changed files
with
119 additions
and
15 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,23 @@ | ||
# Options for Emscripten, WASM and SDL | ||
|
||
CC = emcc $(CLANG_CFLAGS) | ||
|
||
XFILES = $(OBJECTDIR)sdl.o | ||
|
||
XFLAGS = -DSDL -sUSE_SDL=2 | ||
|
||
# OPTFLAGS is normally -O2. | ||
OPTFLAGS = -O2 | ||
DFLAGS = $(XFLAGS) -DRELEASE=351 -DMAIKO_ENABLE_NETHUB | ||
|
||
MEDLEY?=../../medley | ||
SYSOUT?=$(MEDLEY)/loadups/full.sysout | ||
|
||
LD = emcc | ||
LDFLAGS = -sUSE_SDL=2 -sASYNCIFY -sALLOW_MEMORY_GROWTH -sEXIT_RUNTIME=1 -sFORCE_FILESYSTEM -sLZ4 | ||
|
||
LDELDFLAGS = | ||
|
||
OBJECTDIR = ../$(RELEASENAME)/ | ||
|
||
default : ../$(OSARCHNAME)/ldesdl.js |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters