F := .for # dmake complains about this (specify on commandline) FC := f77 FC_IFLAGS := -Iinc # WEPS default include (relative) path FC_FLAGS += -u # report undeclared variables FC_FLAGS += -U # recognize upper and lower case in source files FC_FLAGS += -C # check array references for out of range subscripts FC_FLAGS += -silent # supress compiler messages # "optimization" flags (use if $(OPT) is set (other flags available) FC_OFLAGS += -fast # specify the default optimization (means -O4) # debugging stuff (use if $(DEBUG) is set (other flags available) FC_DFLAGS += -g # compile for debugging (some optimization is disabled) FC_DFLAGS += "-ftrap=%all" # set all traps for help in debugging LD := $(FC) # use f77 compiler for linking LD_IFLAGS += $(FC_IFLAGS) # LD_FLAGS += $(FC_FLAGS) AR := ar AR_FLAGS += -c # create new library AR_FLAGS += -q # operate quietly LIB_PREFIX := lib