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 -Wimplicit-interface -Wunderflow -Wextra -Wunreachable-code |
FFLAGS += -fmax-errors=1 -pedantic-errors -Wall -Wcharacter-truncation -Wunderflow -Wunreachable-code |
20 |
|
|
21 |
# Debugging options: |
# Debugging options: |
22 |
FFLAGS += -ffpe-trap=invalid,zero,overflow -fbacktrace -fdump-core -g |
FFLAGS += -ffpe-trap=invalid,zero,overflow -fbacktrace -fdump-core -g |
27 |
# Optimization options: |
# Optimization options: |
28 |
FFLAGS += -O0 |
FFLAGS += -O0 |
29 |
|
|
|
F90FLAGS = ${FFLAGS} |
|
|
|
|
30 |
LDLIBS = $(addprefix -L, ${netcdf_lib_dir} ${numer_rec_95_dir} ${netcdf95_dir} ${nr_util_dir} ${jumble_dir}) -ljumble -lnetcdf95 -lnetcdff -lnetcdf -lnumer_rec_95 -lnr_util |
LDLIBS = $(addprefix -L, ${netcdf_lib_dir} ${numer_rec_95_dir} ${netcdf95_dir} ${nr_util_dir} ${jumble_dir}) -ljumble -lnetcdf95 -lnetcdff -lnetcdf -lnumer_rec_95 -lnr_util |
31 |
|
|
32 |
version_flag = --version |
version_flag = --version |