make-system-detect - gsl-shell.git - gsl-shell

index : gsl-shell.git
gsl-shell
summary refs log tree commit diff
path: root/make-system-detect
blob: e191213ef1f167f35a56c5975a81cc33e5b316f3 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
##############################################################################
# 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
generated by cgit v1.2.3 (git 2.39.1) at 2025年09月11日 09:04:36 +0000

AltStyle によって変換されたページ (->オリジナル) /