diff --git a/Makefile b/Makefile index 3641d561f1..21d5370d05 100644 --- a/Makefile +++ b/Makefile @@ -1062,7 +1062,7 @@ ifeq ($(PLATFORM),emscripten) USE_RENDERER_DLOPEN=0 BASE_CFLAGS=-fPIC -s USE_SDL=2 - LDFLAGS=-s TOTAL_MEMORY=256mb -s MAX_WEBGL_VERSION=2 --preload-file baseq3 + LDFLAGS=-s TOTAL_MEMORY=256mb -s MAX_WEBGL_VERSION=2 --preload-file $(BASEGAME) OPTIMIZEVM = -O3 OPTIMIZE = $(OPTIMIZEVM)