Added NAG support (untested)

This commit is contained in:
sgeard 2023-06-13 20:38:52 +01:00
parent 07e8fa9d6a
commit e883e8a17e

View file

@ -1,11 +1,16 @@
.PHONY: veryclean clean force export help test run .PHONY: veryclean clean force export help test run
F:= ifort F := ifort
BUILD_DIR := build BUILD_DIR := build
HP_LIB := $(BUILD_DIR)/libhp.a 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) F_OPTS := -fpic -module $(BUILD_DIR)
endif
ifdef debug ifdef debug
F_OPTS += -ggdb -debug-parameters used F_OPTS += -ggdb -debug-parameters used