We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 1b44985 commit 8d06d86Copy full SHA for 8d06d86
tools/make/Makefile
@@ -20,17 +20,6 @@ FORTRAN_COMPILER ?= gfortran
20
DELETE ?= -rm
21
DELETE_FLAGS ?= -rf
22
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
34
# Determine the OS:
35
#
36
# [1]: https://en.wikipedia.org/wiki/Uname#Examples
@@ -48,6 +37,14 @@ endif
48
37
endif
49
38
50
39
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
+
51
52
# DEPENDENCIES #
53
0 commit comments