From 125b8f48092c9e66fac7a8946c50f049ba7c6203 Mon Sep 17 00:00:00 2001 From: sgeard Date: Tue, 13 Jun 2023 20:41:32 +0100 Subject: [PATCH] Mode debug setting into Intel section --- GNUmakefile | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/GNUmakefile b/GNUmakefile index 49bda2b..655296e 100644 --- a/GNUmakefile +++ b/GNUmakefile @@ -8,14 +8,15 @@ HP_LIB := $(BUILD_DIR)/libhp.a # Untested NAG support ifeq ($(F),nagfor) F_OPTS := -fpic -I $(BUILD_DIR) + else F_OPTS := -fpic -module $(BUILD_DIR) -endif - ifdef debug F_OPTS += -ggdb -debug-parameters used endif +endif + SRC := $(wildcard src/*.f90) OBJ := $(SRC:src/%.f90=$(BUILD_DIR)/%.o)