1#
2# Copyright (c) 2013 No Face Press, LLC
3# License http://opensource.org/licenses/mit-license.php MIT License
4#
5
6# Override this using TARGET_OS=LINUX on the command line
7ifeq ($(TARGET_OS),)
8  ifeq ($(OS),Windows_NT)
9    TARGET_OS = WIN32
10  else
11    UNAME_S := $(shell uname -s)
12    ifeq ($(UNAME_S),Linux)
13        TARGET_OS = LINUX
14    else
15        ifeq ($(UNAME_S),Darwin)
16            TARGET_OS = OSX
17        else
18            TARGET_OS = BSD
19        endif
20    endif
21  endif
22endif
23
24