/[lmdze]/trunk/Compilers/g95.mk
ViewVC logotype

Diff of /trunk/Compilers/g95.mk

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 29 by guez, Thu Mar 25 14:29:07 2010 UTC revision 30 by guez, Thu Apr 1 09:07:28 2010 UTC
# Line 1  Line 1 
1  # These are compiler dependent macros, meant to be included in the  # These are compiler dependent macros, meant to be included in the
2  # makefile for LMDZE.  # makefile for LMDZE.
3    
4  # For G95 0.91  # For G95
5    
6  FC = g95  FC = g95
7    
# Line 10  netcdf_lib_dir = /home/guez_local/lib/Ne Line 10  netcdf_lib_dir = /home/guez_local/lib/Ne
10    
11  numer_rec_dir = /home/guez_local/lib/Numer_Rec_Lionel/w  numer_rec_dir = /home/guez_local/lib/Numer_Rec_Lionel/w
12  netcdf95_dir = /home/guez_local/lib/NetCDF95/g95  netcdf95_dir = /home/guez_local/lib/NetCDF95/g95
 IOIPSL_dir = /home/guez_local/lib/IOIPSL_Lionel/aq  
13    
14  # Include flags:  # Include flags:
15  inc_flags = $(addprefix -I, ${libf_dir} ${libf_dir}/phylmd ${netcdf_inc_dir} ${numer_rec_dir} ${netcdf95_dir} ${IOIPSL_dir})  inc_flags = $(addprefix -I, ${libf_dir} ${libf_dir}/phylmd ${netcdf_inc_dir} ${numer_rec_dir} ${netcdf95_dir})
16    
17  # Other flags which do not affect run time performance:  # Other flags which do not affect run time performance:
18  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
# Line 27  perf_flags = -fbounds-check -freal=nan - Line 26  perf_flags = -fbounds-check -freal=nan -
26  FFLAGS = ${inc_flags} ${perf_flags}  FFLAGS = ${inc_flags} ${perf_flags}
27  F90FLAGS = ${inc_flags} ${lang_flags} ${perf_flags}  F90FLAGS = ${inc_flags} ${lang_flags} ${perf_flags}
28    
29  LDLIBS = $(addprefix -L, ${netcdf_lib_dir} ${numer_rec_dir} ${netcdf95_dir} ${IOIPSL_dir}) -lioipsl -lnetcdf95 -lnetcdff -lnetcdf -lnumer_rec  LDLIBS = $(addprefix -L, ${netcdf_lib_dir} ${numer_rec_dir} ${netcdf95_dir}) -lnetcdf95 -lnetcdff -lnetcdf -lnumer_rec

Legend:
Removed from v.29  
changed lines
  Added in v.30

  ViewVC Help
Powered by ViewVC 1.1.21