summaryrefslogtreecommitdiff
path: root/core/makefile
diff options
context:
space:
mode:
authorruki <[email protected]>2020-02-12 00:35:35 +0800
committerruki <[email protected]>2020-02-11 21:33:33 +0800
commited630a48d2359dded29af7815f03604534b78f67 (patch)
tree7abf91db6576d4a3f0c6534b4b416c5a30107700 /core/makefile
parent122e72b5483783e3d88e55da824d64d5c6b3700e (diff)
improve makefile and msys platform
Diffstat (limited to 'core/makefile')
-rw-r--r--core/makefile2
1 files changed, 2 insertions, 0 deletions
diff --git a/core/makefile b/core/makefile
index 3ee722347..7278bf18e 100644
--- a/core/makefile
+++ b/core/makefile
@@ -142,6 +142,7 @@ endif
HOST :=$(if $(HOST),$(HOST),$(if ${shell uname | egrep -i linux},linux,))
HOST :=$(if $(HOST),$(HOST),$(if ${shell uname | egrep -i darwin},macosx,))
HOST :=$(if $(HOST),$(HOST),$(if ${shell uname | egrep -i cygwin},cygwin,))
+HOST :=$(if $(HOST),$(HOST),$(if ${shell uname | egrep -i msys},msys,))
HOST :=$(if $(HOST),$(HOST),$(if ${shell uname | egrep -i mingw},msys,))
HOST :=$(if $(HOST),$(HOST),$(if ${shell uname | egrep -i windows},msys,))
HOST :=$(if $(HOST),$(HOST),linux)
@@ -150,6 +151,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 msys},msys,))
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)