Mode debug setting into Intel section

This commit is contained in:
sgeard 2023-06-13 20:41:32 +01:00
parent c5750a770e
commit 125b8f4809

View file

@ -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)