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

Annotation of /trunk/Compilers/gfortran_debug.mk

Parent Directory Parent Directory | Revision Log Revision Log


Revision 61 - (hide annotations)
Fri Apr 20 14:58:43 2012 UTC (12 years ago) by guez
Original Path: trunk/Compilers/gfortran.mk
File size: 1043 byte(s)
No more included file in LMDZE, not even "netcdf.inc".

Created a variable containing the list of common source files in
GNUmakefile. So we now also see clearly files that are specific to
each program.

Split module "histcom". Assembled resulting files in directory
"Histcom".

Removed aliasing in calls to "laplacien".

1 guez 36 # These are compiler dependent macros, meant to be included in the
2     # makefile for LMDZE.
3    
4     FC = gfortran
5    
6 guez 61 netcdf_inc_dir = /usr/include
7     netcdf_lib_dir =
8 guez 36
9 guez 61 numer_rec_95_dir = /user/guez_local/lib/Numer_Rec_95_b
10 guez 36 nr_util_dir = /user/guez_local/lib/NR_util_j
11     netcdf95_dir = /user/guez_local/lib/NetCDF95_gfortran
12 guez 61 jumble_dir = /user/guez_local/lib/Jumble_debug
13 guez 36
14     # Include flags:
15 guez 61 inc_flags = $(addprefix -I, ${netcdf_inc_dir} ${numer_rec_95_dir} ${netcdf95_dir} ${nr_util_dir} ${jumble_dir})
16 guez 36
17     # Other flags which do not affect run time performance:
18 guez 38 lang_flags = -ffree-form -frange-check -std=f95 -pedantic-errors -Wall -Wunderflow -Wextra
19 guez 36
20     # Flags which affect run time performance:
21     perf_flags = -fbacktrace -ffpe-trap=invalid,zero,overflow -fbounds-check -g3 -O0 -fstack-protector-all
22    
23     FFLAGS = ${inc_flags} ${perf_flags}
24     F90FLAGS = ${inc_flags} ${lang_flags} ${perf_flags}
25    
26 guez 61 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

Properties

Name Value
svn:executable *

  ViewVC Help
Powered by ViewVC 1.1.21