diff options
author | twinaphex | 2019-12-27 04:10:58 +0100 |
---|---|---|
committer | twinaphex | 2019-12-27 04:11:10 +0100 |
commit | 913cefb3be1171671eb7b2dd1d3a11d1b2ec09a1 (patch) | |
tree | a679e0a72d18e1da281fcf286f65ceeb5a84ab1c /Makefile | |
parent | e5cadd2f21fb64e8c7194ad006b39e6f555c4a5b (diff) | |
download | snes9x2005-913cefb3be1171671eb7b2dd1d3a11d1b2ec09a1.tar.gz snes9x2005-913cefb3be1171671eb7b2dd1d3a11d1b2ec09a1.tar.bz2 snes9x2005-913cefb3be1171671eb7b2dd1d3a11d1b2ec09a1.zip |
Update Makefile
Diffstat (limited to 'Makefile')
-rw-r--r-- | Makefile | 30 |
1 files changed, 15 insertions, 15 deletions
@@ -14,22 +14,22 @@ unixpath = $(subst \,/,$1) unixcygpath = /$(subst :,,$(call unixpath,$1)) ifeq ($(platform),) - ifeq (,$(findstring classic_,$(platform))) - platform = unix + platform = unix + ifeq ($(shell uname -s),) + platform = win + else ifneq ($(findstring MINGW,$(shell uname -s)),) + platform = win + else ifneq ($(findstring Darwin,$(shell uname -s)),) + platform = osx + arch = intel + ifeq ($(shell uname -p),powerpc) + arch = ppc + endif + else ifneq ($(findstring win,$(shell uname -s)),) + platform = win + else ifneq ($(findstring SunOS,$(shell uname -s)),) + platform = sun endif -ifeq ($(shell uname -a),) - platform = win -else ifneq ($(findstring Darwin,$(shell uname -a)),) - platform = osx - arch = intel -ifeq ($(shell uname -p),powerpc) - arch = ppc -endif -else ifneq ($(findstring MINGW,$(shell uname -a)),) - platform = win -else ifneq ($(findstring SunOS,$(shell uname -a)),) - platform = sun -endif endif # system platform |