source: trunk/SOURCES/Makefile @ 64

Last change on this file since 64 was 64, checked in by dumas, 8 years ago

Only one Makefile compatible with ifort and gfortran

File size: 923 bytes
Line 
1# Makefile pour construire les executables grisli en fonction de la machin
2# Pour compiler : make -f Makefile-template Grice2sea
3#
4#       machine sur laquelle on tourne
5#-------------------------------------------
6
7#-------------------------------------------
8# dmr: Added options for a more flexible Makefile with the two compilers inbedded
9#-------------------------------------------
10
11# Choice for compiler (ifort = 1, gfortran = 0)
12ifort ?= 1
13
14# Choice for librairies (mkl_c = 1 = MKL,  = 0 = BLAS)
15# NOTA: mkl_c = 1 with ifort = 0 ignores the MKL and uses BLAS anyhow
16mkl_c ?= 0
17
18#ifeq ($(ifort),1)
19  include Fichiers-parametres/Makefile.tof-lsce3130.inc
20#else
21#  include Fichiers-parametres/Makefile.dmr-lsce3027.inc
22#endif
23
24#     Compilation (le corps du Makefile)
25#-------------------------------------------
26
27#ifeq ($(ifort),1)
28  include Makefile.grisli.inc
29#else
30#  include Makefile.grisli-gfortran.inc
31#endif
Note: See TracBrowser for help on using the repository browser.