############################################################################## # GSL Shell Makefile System detection. Requires GNU Make. # # Suitable for POSIX platforms (Linux, *BSD, OSX etc.). # Also works with MinGW and Cygwin on Windows. # Please check msvcbuild.bat for building with MSVC on Windows. # # Taken from LuaJIT2 # # Copyright (C) 2005-2011 Mike Pall. See Copyright Notice in luajit.h ############################################################################## ifneq (,$(findstring Windows,$(OS))) HOST_SYS= Windows else HOST_SYS:= $(shell uname -s) ifneq (,$(findstring CYGWIN,$(TARGET_SYS))) HOST_SYS= Windows endif endif HOST_RM= rm -f HOST_CP= cp