Skip to content

Commit 8d06d86

Browse files
committed
Remove KERNEL environment variable
1 parent 1b44985 commit 8d06d86

File tree

1 file changed

+8
-11
lines changed

1 file changed

+8
-11
lines changed

tools/make/Makefile

Lines changed: 8 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -20,17 +20,6 @@ FORTRAN_COMPILER ?= gfortran
2020
DELETE ?= -rm
2121
DELETE_FLAGS ?= -rf
2222

23-
# Determine the host kernel:
24-
KERNEL ?= $(shell uname -s)
25-
26-
# Based on the kernel, determine the `open` command:
27-
ifeq ($(KERNEL), Darwin)
28-
OPEN ?= open
29-
else
30-
OPEN ?= xdg-open
31-
endif
32-
# TODO: add Windows command
33-
3423
# Determine the OS:
3524
#
3625
# [1]: https://en.wikipedia.org/wiki/Uname#Examples
@@ -48,6 +37,14 @@ endif
4837
endif
4938
endif
5039

40+
# Based on the OS, determine the `open` command:
41+
ifeq ($(OS), Darwin)
42+
OPEN ?= open
43+
else
44+
OPEN ?= xdg-open
45+
endif
46+
# TODO: add Windows command
47+
5148

5249
# DEPENDENCIES #
5350

0 commit comments

Comments
 (0)