Update Makefile.Web
This commit is contained in:
parent
8b36253e2f
commit
7ac36e20cd
1 changed files with 8 additions and 3 deletions
|
@ -139,7 +139,7 @@ endif
|
||||||
|
|
||||||
# Define default make program: MAKE
|
# Define default make program: MAKE
|
||||||
#------------------------------------------------------------------------------------------------
|
#------------------------------------------------------------------------------------------------
|
||||||
MAKE ?= emmake make
|
MAKE ?= make
|
||||||
|
|
||||||
ifeq ($(PLATFORM),PLATFORM_DESKTOP)
|
ifeq ($(PLATFORM),PLATFORM_DESKTOP)
|
||||||
ifeq ($(PLATFORM_OS),WINDOWS)
|
ifeq ($(PLATFORM_OS),WINDOWS)
|
||||||
|
@ -149,8 +149,13 @@ endif
|
||||||
ifeq ($(PLATFORM),PLATFORM_ANDROID)
|
ifeq ($(PLATFORM),PLATFORM_ANDROID)
|
||||||
MAKE = mingw32-make
|
MAKE = mingw32-make
|
||||||
endif
|
endif
|
||||||
ifeq ($(PLATFORM),PLATFORM_WEB)
|
ifeq ($(TARGET_PLATFORM),PLATFORM_WEB)
|
||||||
MAKE = emmake make
|
EMMAKE != type emmake
|
||||||
|
ifneq (, $(EMMAKE))
|
||||||
|
MAKE = emmake make
|
||||||
|
else
|
||||||
|
MAKE = mingw32-make
|
||||||
|
endif
|
||||||
endif
|
endif
|
||||||
|
|
||||||
# Define compiler flags: CFLAGS
|
# Define compiler flags: CFLAGS
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue