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,12 +197,16 @@ 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
else else
MAKE = mingw32-make MAKE = mingw32-make
endif endif
endif
endif endif
# Define compiler flags: CFLAGS # Define compiler flags: CFLAGS

View file

@ -154,12 +154,16 @@ 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
else else
MAKE = mingw32-make MAKE = mingw32-make
endif endif
endif
endif endif
# Define compiler flags: CFLAGS # Define compiler flags: CFLAGS