Update Makefile.Web

This commit is contained in:
Ray 2024-10-25 23:55:31 +02:00
parent 8b36253e2f
commit 7ac36e20cd

View file

@ -139,7 +139,7 @@ endif
# Define default make program: MAKE
#------------------------------------------------------------------------------------------------
MAKE ?= emmake make
MAKE ?= make
ifeq ($(PLATFORM),PLATFORM_DESKTOP)
ifeq ($(PLATFORM_OS),WINDOWS)
@ -149,8 +149,13 @@ endif
ifeq ($(PLATFORM),PLATFORM_ANDROID)
MAKE = mingw32-make
endif
ifeq ($(PLATFORM),PLATFORM_WEB)
MAKE = emmake make
ifeq ($(TARGET_PLATFORM),PLATFORM_WEB)
EMMAKE != type emmake
ifneq (, $(EMMAKE))
MAKE = emmake make
else
MAKE = mingw32-make
endif
endif
# Define compiler flags: CFLAGS