Skip to content

Commit 1b44985

Browse files
committed
Remove OS determination
1 parent e738a0b commit 1b44985

File tree

2 files changed

+0
-34
lines changed

2 files changed

+0
-34
lines changed

tools/make/lib/addons/Makefile

Lines changed: 0 additions & 17 deletions
Original file line numberDiff line numberDiff line change
@@ -1,23 +1,6 @@
11

22
# VARIABLES #
33

4-
# Determine the OS:
5-
#
6-
# [1]: https://en.wikipedia.org/wiki/Uname#Examples
7-
# [2]: http://stackoverflow.com/a/27776822/2225624
8-
OS := $(shell uname)
9-
ifneq (, $(findstring MINGW,$(OS)))
10-
OS := WINNT
11-
else
12-
ifneq (, $(findstring MSYS,$(OS)))
13-
OS := WINNT
14-
else
15-
ifneq (, $(findstring CYGWIN,$(OS)))
16-
OS := WINNT
17-
endif
18-
endif
19-
endif
20-
214
# Define the path of the executable for [node-gyp][1].
225
#
236
# [1]: https://github.com/nodejs/node-gyp

tools/make/lib/deps/openblas.mk

Lines changed: 0 additions & 17 deletions
Original file line numberDiff line numberDiff line change
@@ -1,23 +1,6 @@
11

22
# VARIABLES #
33

4-
# Determine the OS:
5-
#
6-
# [1]: https://en.wikipedia.org/wiki/Uname#Examples
7-
# [2]: http://stackoverflow.com/a/27776822/2225624
8-
OS := $(shell uname)
9-
ifneq (, $(findstring MINGW,$(OS)))
10-
OS := WINNT
11-
else
12-
ifneq (, $(findstring MSYS,$(OS)))
13-
OS := WINNT
14-
else
15-
ifneq (, $(findstring CYGWIN,$(OS)))
16-
OS := WINNT
17-
endif
18-
endif
19-
endif
20-
214
# Define the command for recursively creating directories (WARNING: portability issues on some systems!):
225
MKDIR_RECURSIVE ?= mkdir -p
236

0 commit comments

Comments
 (0)