diff options
| author | ruki <[email protected]> | 2020-02-11 23:06:04 +0800 |
|---|---|---|
| committer | ruki <[email protected]> | 2020-02-11 12:36:24 +0800 |
| commit | 94c19e101325c6a6a63a281ae6f6fee1ed230298 (patch) | |
| tree | 8563d7d0184cba06f2ab233eccf43ed7428ab1f5 /core/makefile | |
| parent | a0ff9f3cf3e5a425e8f7b4313e8b42a08effda42 (diff) | |
add msys and cygwin makefile
Diffstat (limited to 'core/makefile')
| -rw-r--r-- | core/makefile | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/core/makefile b/core/makefile index 55aeeeeb8..3ee722347 100644 --- a/core/makefile +++ b/core/makefile @@ -150,7 +150,7 @@ HOST :=$(if $(HOST),$(HOST),linux) PLAT :=$(if $(PLAT),$(PLAT),$(if ${shell uname | egrep -i linux},linux,)) PLAT :=$(if $(PLAT),$(PLAT),$(if ${shell uname | egrep -i darwin},macosx,)) PLAT :=$(if $(PLAT),$(PLAT),$(if ${shell uname | egrep -i cygwin},cygwin,)) -PLAT :=$(if $(PLAT),$(PLAT),$(if ${shell uname | egrep -i mingw},mingw,)) +PLAT :=$(if $(PLAT),$(PLAT),$(if ${shell uname | egrep -i mingw},msys,)) PLAT :=$(if $(PLAT),$(PLAT),$(if ${shell uname | egrep -i windows},windows,)) PLAT :=$(if $(PLAT),$(PLAT),linux) @@ -158,7 +158,7 @@ PLAT :=$(if $(PLAT),$(PLAT),linux) ifeq ($(ARCH),) ARCH :=$(if $(findstring windows,$(PLAT)),x86,$(ARCH)) -ARCH :=$(if $(findstring mingw,$(PLAT)),x$(shell getconf LONG_BIT),$(ARCH)) +ARCH :=$(if $(findstring msys,$(PLAT)),x$(shell getconf LONG_BIT),$(ARCH)) ARCH :=$(if $(findstring macosx,$(PLAT)),x$(shell getconf LONG_BIT),$(ARCH)) ARCH :=$(if $(findstring linux,$(PLAT)),x$(shell getconf LONG_BIT),$(ARCH)) ARCH :=$(if $(findstring x32,$(ARCH)),i386,$(ARCH)) |
