From 0a7c84e7672fd6ebbfc17e0fa6ae57b44c85da01 Mon Sep 17 00:00:00 2001 From: Alex Rosario Date: Wed, 11 Jan 2012 17:07:22 -0500 Subject: [PATCH] reorder OS detection --- libsnes/Makefile | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/libsnes/Makefile b/libsnes/Makefile index b72f8819..2038181d 100644 --- a/libsnes/Makefile +++ b/libsnes/Makefile @@ -2,12 +2,12 @@ ifeq ($(platform),) platform = unix ifeq ($(shell uname -a),) platform = win +else ifneq ($(findstring Darwin,$(shell uname -a)),) + platform = osx else ifneq ($(findstring MINGW,$(shell uname -a)),) platform = win else ifneq ($(findstring win,$(shell uname -a)),) platform = win -else ifneq ($(findstring Darwin,$(shell uname -a)),) - platform = osx endif endif