13 |
FFLAGS = $(addprefix -I, ${netcdf_inc_dir} ${numer_rec_95_dir} ${netcdf95_dir} ${nr_util_dir} ${jumble_dir}) |
FFLAGS = $(addprefix -I, ${netcdf_inc_dir} ${numer_rec_95_dir} ${netcdf95_dir} ${nr_util_dir} ${jumble_dir}) |
14 |
|
|
15 |
# Fortran language options: |
# Fortran language options: |
16 |
FFLAGS += -std=f95 |
FFLAGS += -ffree-form -std=f95 |
17 |
|
|
18 |
# Error and warning options: |
# Error and warning options: |
19 |
FFLAGS += -fmax-errors=1 -pedantic-errors -Wall -Wcharacter-truncation -Wconversion -Wimplicit-interface -Wunderflow -Wextra -Wunreachable-code |
FFLAGS += -fmax-errors=1 -pedantic-errors -Wall -Wcharacter-truncation -Wimplicit-interface -Wunderflow -Wunreachable-code |
20 |
|
|
21 |
# Debugging options: |
# Debugging options: |
22 |
FFLAGS += -ffpe-trap=invalid,zero,overflow -fbacktrace -fdump-core -g3 |
FFLAGS += -ffpe-trap=invalid,zero,overflow -fbacktrace -fdump-core -g |
23 |
|
|
24 |
# Code generation options: |
# Code generation options: |
25 |
FFLAGS += -fbounds-check -finit-real=nan |
FFLAGS += -fcheck=bounds -fcheck=do -fcheck=mem -fcheck=pointer -fcheck=recursion -finit-real=SNAN |
26 |
|
|
27 |
# Optimization options: |
# Optimization options: |
28 |
FFLAGS += -O0 -fstack-protector-all |
FFLAGS += -O0 |
29 |
|
|
30 |
F90FLAGS = ${FFLAGS} |
F90FLAGS = ${FFLAGS} |
31 |
|
|