From 04968a055b35c30bfaa37247a28787540b5e7e39 Mon Sep 17 00:00:00 2001 From: asdqwe Date: Thu, 24 Oct 2024 22:52:28 -0300 Subject: [PATCH] Fix examples Makefile for PLATFORM_WEB --- examples/Makefile | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/examples/Makefile b/examples/Makefile index be9751db..fa3fcbf3 100644 --- a/examples/Makefile +++ b/examples/Makefile @@ -197,7 +197,11 @@ ifeq ($(TARGET_PLATFORM),PLATFORM_ANDROID) MAKE = mingw32-make endif ifeq ($(TARGET_PLATFORM),PLATFORM_WEB) - MAKE = mingw32-make + ifneq (, $(shell type emmake)) + MAKE = emmake make + else + MAKE = mingw32-make + endif endif # Define compiler flags: CFLAGS