]> git.earman.xyz Git - sensor-watch.git/commitdiff
Move emscripten targets to gossamer's rules.mk
authorDaniel Bergman <danber@gmail.com>
Sun, 29 Jun 2025 09:00:47 +0000 (11:00 +0200)
committerDaniel Bergman <danber@gmail.com>
Sun, 29 Jun 2025 09:00:47 +0000 (11:00 +0200)
Makefile

index cefb6988047f525ef27b901e23c5416c79dfd933..6eb414ae4ab70d39682f32d9d2f4c5439531fbbf 100644 (file)
--- a/Makefile
+++ b/Makefile
@@ -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 += \