We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 80773db commit 76e89e2Copy full SHA for 76e89e2
make/defaults-module.mk
@@ -2,6 +2,10 @@
2
# This is not a problem, but it makes the output nicer
3
MAKE_DIR := $(shell echo $(dir $(lastword $(MAKEFILE_LIST))) | sed "s|/$$||")
4
5
+ifneq ($(.SHELLSTATUS),0)
6
+ $(error extracting `make` directory based on defaults-module.mk location failed)
7
+endif
8
+
9
BUILD_DIR ?= build
10
COMPILER ?= gfortran
11
VERSION ?= $(file <$(MAKE_DIR)../data/version_number)
0 commit comments