Use mingw32-make for Windows (#4436)

This commit is contained in:
Asdqwe 2024-10-26 06:39:24 -03:00 committed by GitHub
parent 4e3fc84050
commit 91a4f04794
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
2 changed files with 29 additions and 21 deletions

View File

@ -197,6 +197,9 @@ ifeq ($(TARGET_PLATFORM),PLATFORM_ANDROID)
MAKE = mingw32-make MAKE = mingw32-make
endif endif
ifeq ($(TARGET_PLATFORM),PLATFORM_WEB) ifeq ($(TARGET_PLATFORM),PLATFORM_WEB)
ifeq ($(OS),Windows_NT)
MAKE = mingw32-make
else
EMMAKE != type emmake EMMAKE != type emmake
ifneq (, $(EMMAKE)) ifneq (, $(EMMAKE))
MAKE = emmake make MAKE = emmake make
@ -204,6 +207,7 @@ ifeq ($(TARGET_PLATFORM),PLATFORM_WEB)
MAKE = mingw32-make MAKE = mingw32-make
endif endif
endif endif
endif
# Define compiler flags: CFLAGS # Define compiler flags: CFLAGS
#------------------------------------------------------------------------------------------------ #------------------------------------------------------------------------------------------------

View File

@ -154,6 +154,9 @@ ifeq ($(PLATFORM),PLATFORM_ANDROID)
MAKE = mingw32-make MAKE = mingw32-make
endif endif
ifeq ($(TARGET_PLATFORM),PLATFORM_WEB) ifeq ($(TARGET_PLATFORM),PLATFORM_WEB)
ifeq ($(OS),Windows_NT)
MAKE = mingw32-make
else
EMMAKE != type emmake EMMAKE != type emmake
ifneq (, $(EMMAKE)) ifneq (, $(EMMAKE))
MAKE = emmake make MAKE = emmake make
@ -161,6 +164,7 @@ ifeq ($(TARGET_PLATFORM),PLATFORM_WEB)
MAKE = mingw32-make MAKE = mingw32-make
endif endif
endif endif
endif
# Define compiler flags: CFLAGS # Define compiler flags: CFLAGS
#------------------------------------------------------------------------------------------------ #------------------------------------------------------------------------------------------------