mirror of https://github.com/snes9xgit/snes9x.git
reorder OS detection
This commit is contained in:
parent
0f69665d17
commit
0a7c84e767
|
@ -2,12 +2,12 @@ ifeq ($(platform),)
|
||||||
platform = unix
|
platform = unix
|
||||||
ifeq ($(shell uname -a),)
|
ifeq ($(shell uname -a),)
|
||||||
platform = win
|
platform = win
|
||||||
|
else ifneq ($(findstring Darwin,$(shell uname -a)),)
|
||||||
|
platform = osx
|
||||||
else ifneq ($(findstring MINGW,$(shell uname -a)),)
|
else ifneq ($(findstring MINGW,$(shell uname -a)),)
|
||||||
platform = win
|
platform = win
|
||||||
else ifneq ($(findstring win,$(shell uname -a)),)
|
else ifneq ($(findstring win,$(shell uname -a)),)
|
||||||
platform = win
|
platform = win
|
||||||
else ifneq ($(findstring Darwin,$(shell uname -a)),)
|
|
||||||
platform = osx
|
|
||||||
endif
|
endif
|
||||||
endif
|
endif
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue