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)