Merge pull request #27 from berdan/emscripten-to-gossamer

Move emscripten targets to gossamer's rules.mk
This commit is contained in:
Joey Castillo 2025-06-30 19:17:56 -04:00 committed by GitHub
commit 9d71e43e9c
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
2 changed files with 2 additions and 11 deletions

View File

@ -47,16 +47,7 @@ ifdef NOSLEEP
DEFINES += -DMOVEMENT_LOW_ENERGY_MODE_FORBIDDEN
endif
ifdef EMSCRIPTEN
all: $(BUILD)/$(BIN).elf $(BUILD)/$(BIN).html
$(BUILD)/$(BIN).html: $(OBJS)
@echo HTML $@
@$(CC) $(LDFLAGS) $(OBJS) $(LIBS) -o $@ \
-s ASYNCIFY=1 \
-s EXPORTED_RUNTIME_METHODS=lengthBytesUTF8,printErr \
-s EXPORTED_FUNCTIONS=_main \
--shell-file=./watch-library/simulator/shell.html
endif
# Emscripten targets are now handled in rules.mk in gossamer
# Add your include directories here.
INCLUDES += \

@ -1 +1 @@
Subproject commit eb8e7d6445c2066ce420fae1cc2af11bec5da9ad
Subproject commit dd9e89b9a096d58f9d4a8c0ad2b51884be66e3d7