[build] [web] Fix examples Makefile for PLATFORM_WEB (#4434)

* Fix examples Makefile for PLATFORM_WEB

* Replace shell with assignment operator

* Replace tab with spaces
This commit is contained in:
Asdqwe
2024-10-25 18:47:55 -03:00
committed by GitHub
parent 204872de09
commit 8b36253e2f

View File

@@ -197,8 +197,13 @@ ifeq ($(TARGET_PLATFORM),PLATFORM_ANDROID)
MAKE = mingw32-make MAKE = mingw32-make
endif endif
ifeq ($(TARGET_PLATFORM),PLATFORM_WEB) ifeq ($(TARGET_PLATFORM),PLATFORM_WEB)
EMMAKE != type emmake
ifneq (, $(EMMAKE))
MAKE = emmake make
else
MAKE = mingw32-make MAKE = mingw32-make
endif endif
endif
# Define compiler flags: CFLAGS # Define compiler flags: CFLAGS
#------------------------------------------------------------------------------------------------ #------------------------------------------------------------------------------------------------