Revision ac026fa5ed39aa62ced29206061424036d143c17 authored by Ben Goodrich on 13 August 2014, 15:43:55 UTC, committed by Ben Goodrich on 13 August 2014, 15:43:55 UTC
Build is probably very broken at the moment
1 parent 0f69d55
Raw File
detect_os
# Set OS if there is no default:
uname_S := $(shell sh -c 'uname -s 2>/dev/null || echo not')
uname_O := $(shell sh -c 'uname -o 2>/dev/null || echo not')
OS = win
ifeq ($(uname_S), Darwin)
  OS = mac
endif
ifeq ($(uname_O), Cygwin)
  OS = win
endif
ifeq ($(uname_S), MINGW32_NT-6.1)
  OS = win
endif
ifeq ($(uname_S), Linux)
  OS = linux
endif
# These includes should update the following variables
# based on the OS:
#   - CFLAGS
#   - EXE
##
-include make/os_$(OS)
back to top