1 |
# These are machine dependent macros, meant to be included in the |
# These are compiler dependent macros, meant to be included in the |
2 |
# LMDZE makefile |
# makefile for LMDZE. |
3 |
|
|
4 |
# For G95 0.91 |
# For G95 0.91 |
5 |
|
|
6 |
FC = g95 |
FC = g95 |
7 |
|
|
8 |
|
netcdf_inc_dir = /home/guez_local/include/NetCDF_g95 /home/guez_local/include |
9 |
|
netcdf_lib_dir = /home/guez_local/lib/NetCDF_g95 /home/guez_local/lib |
10 |
|
|
11 |
|
numer_rec_dir = /home/guez_local/lib/Numer_Rec_Lionel/w |
12 |
|
netcdf95_dir = /home/guez_local/lib/NetCDF95/g95 |
13 |
|
IOIPSL_dir = /home/guez_local/lib/IOIPSL_Lionel/aq |
14 |
|
|
15 |
# Include flags: |
# Include flags: |
16 |
inc_flags =-I${libf_dir} -I${libf_dir}/dyn3d -I${libf_dir}/phylmd -I${libf_dir}/filtrez -I/home/guez/include -I/home/guez/lib/IOIPSL_Lionel/ac -I/home/guez/lib/Numer_Rec_Lionel/a |
inc_flags = $(addprefix -I, ${libf_dir} ${libf_dir}/dyn3d ${libf_dir}/phylmd ${libf_dir}/filtrez ${netcdf_inc_dir} ${numer_rec_dir} ${netcdf95_dir} ${IOIPSL_dir}) |
17 |
|
|
18 |
# Other flags which do not affect run time performance: |
# Other flags which do not affect run time performance: |
19 |
lang_flags = -ffree-form -pedantic -std=f95 -Wall -Wextra -Wno=136,163,165 |
lang_flags = -ffree-form -pedantic -std=f95 -Wall -Wextra -Wno=136,163,165 |
27 |
FFLAGS = ${inc_flags} ${perf_flags} |
FFLAGS = ${inc_flags} ${perf_flags} |
28 |
F90FLAGS = ${inc_flags} ${lang_flags} ${perf_flags} |
F90FLAGS = ${inc_flags} ${lang_flags} ${perf_flags} |
29 |
|
|
30 |
LDLIBS = -L/home/guez/lib/IOIPSL_Lionel/ac -L/home/guez/lib -L/home/guez/lib/Numer_Rec_Lionel/a -lioipsl -lnetcdff -lnetcdf -lnumer_rec |
LDLIBS = $(addprefix -L, ${netcdf_lib_dir} ${numer_rec_dir} ${netcdf95_dir} ${IOIPSL_dir}) -lioipsl -lnetcdf95 -lnetcdff -lnetcdf -lnumer_rec |