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