diff options
| author | ruki <[email protected]> | 2020-05-19 23:22:13 +0800 |
|---|---|---|
| committer | ruki <[email protected]> | 2020-05-19 14:13:20 +0800 |
| commit | 7d8866f5903db5372bf7c80abb172871290c6160 (patch) | |
| tree | 867243420c89964417c93d856795a640813a0a6e | |
| parent | 10ffa242d7f528d0bb8c67f68158ca8f3ed69975 (diff) | |
improve core/makefile
| -rw-r--r-- | core/makefile | 4 | ||||
| -rw-r--r-- | makefile | 2 |
2 files changed, 3 insertions, 3 deletions
diff --git a/core/makefile b/core/makefile index c9aa5a060..46c0d313b 100644 --- a/core/makefile +++ b/core/makefile @@ -139,7 +139,7 @@ endif # # # host -HOST :=$(if $(HOST),$(HOST),$(if ${shell uname | egrep -i linux},linux,)) +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,)) @@ -149,7 +149,7 @@ HOST :=$(if $(HOST),$(HOST),$(if ${shell uname | egrep -i bsd},bsd,)) HOST :=$(if $(HOST),$(HOST),linux) # platform -PLAT :=$(if $(PLAT),$(PLAT),$(if ${shell uname | egrep -i linux},linux,)) +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,)) @@ -23,7 +23,7 @@ TMP_DIR :=$(if $(TMP_DIR),$(TMP_DIR),$(TMPDIR)) endif # platform -PLAT :=$(if $(PLAT),$(PLAT),$(if ${shell uname | egrep -i linux},linux,)) +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,)) |
