Skip to content

Commit

Permalink
fixup! build: add new build system
Browse files Browse the repository at this point in the history
  • Loading branch information
VincentVanlaer committed Oct 21, 2024
1 parent 80773db commit 76e89e2
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions make/defaults-module.mk
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,10 @@
# This is not a problem, but it makes the output nicer
MAKE_DIR := $(shell echo $(dir $(lastword $(MAKEFILE_LIST))) | sed "s|/$$||")

ifneq ($(.SHELLSTATUS),0)
$(error extracting `make` directory based on defaults-module.mk location failed)
endif

BUILD_DIR ?= build
COMPILER ?= gfortran
VERSION ?= $(file <$(MAKE_DIR)../data/version_number)
Expand Down

0 comments on commit 76e89e2

Please sign in to comment.