Marking of more classes, might get rid of in the future and optimize; Implement shrin...
[SquirrelJME.git] / ratufacoat / libretro / Makefile.common.hostcheck
blob4372c96102bb39997d207ea7ca42992a4a024b8d
1 # ---------------------------------------------------------------------------
2 # SquirrelJME
3 #     Copyright (C) Stephanie Gawroriski <xer@multiphasicapps.net>
4 # ---------------------------------------------------------------------------
5 # SquirrelJME is under the GNU General Public License v3, or later.
6 # See license.mkd for licensing and copyright information.
7 # ---------------------------------------------------------------------------
8 # DESCRIPTION: Checks the host operating system
10 HOST_PLATFORM = linux
11 ifeq ($(shell uname -a),)
12   HOST_PLATFORM = windows
13 else ifneq ($(findstring MINGW,$(shell uname -a)),)
14   HOST_PLATFORM = windows
15 else ifneq ($(findstring Darwin,$(shell uname -a)),)
16   HOST_PLATFORM = darwin
17 else ifneq ($(findstring win,$(shell uname -a)),)
18   HOST_PLATFORM = windows
19 endif