mirror of
https://github.com/yquake2/zaero.git
synced 2024-11-22 12:01:30 +00:00
Fix Windows detection in makefile for MinGW
This commit is contained in:
parent
b0f4627044
commit
ac084046a8
1 changed files with 5 additions and 0 deletions
5
Makefile
5
Makefile
|
@ -21,6 +21,11 @@ else
|
||||||
OSTYPE := $(shell uname -s)
|
OSTYPE := $(shell uname -s)
|
||||||
endif
|
endif
|
||||||
|
|
||||||
|
# Special case for MinGW
|
||||||
|
ifneq (,$(findstring MINGW,$(OSTYPE)))
|
||||||
|
OSTYPE := Windows
|
||||||
|
endif
|
||||||
|
|
||||||
# Detect the architecture
|
# Detect the architecture
|
||||||
ifeq ($(OSTYPE), Windows)
|
ifeq ($(OSTYPE), Windows)
|
||||||
# At this time only i386 is supported on Windows
|
# At this time only i386 is supported on Windows
|
||||||
|
|
Loading…
Reference in a new issue