Skip to content

Commit 76e89e2

Browse files
fixup! build: add new build system
1 parent 80773db commit 76e89e2

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

make/defaults-module.mk

+4
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,10 @@
22
# This is not a problem, but it makes the output nicer
33
MAKE_DIR := $(shell echo $(dir $(lastword $(MAKEFILE_LIST))) | sed "s|/$$||")
44

5+
ifneq ($(.SHELLSTATUS),0)
6+
$(error extracting `make` directory based on defaults-module.mk location failed)
7+
endif
8+
59
BUILD_DIR ?= build
610
COMPILER ?= gfortran
711
VERSION ?= $(file <$(MAKE_DIR)../data/version_number)

0 commit comments

Comments
 (0)