Skip to content

Commit

Permalink
Update Makefile.Web
Browse files Browse the repository at this point in the history
  • Loading branch information
raysan5 committed Oct 25, 2024
1 parent 8b36253 commit 7ac36e2
Showing 1 changed file with 8 additions and 3 deletions.
11 changes: 8 additions & 3 deletions examples/Makefile.Web
Original file line number Diff line number Diff line change
Expand Up @@ -139,7 +139,7 @@ endif

# Define default make program: MAKE
#------------------------------------------------------------------------------------------------
MAKE ?= emmake make
MAKE ?= make

ifeq ($(PLATFORM),PLATFORM_DESKTOP)
ifeq ($(PLATFORM_OS),WINDOWS)
Expand All @@ -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
Expand Down

0 comments on commit 7ac36e2

Please sign in to comment.