source: branches/iLoveclim/SOURCES/Makefile @ 77

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

Merge branche iLOVECLIM sur rev 76

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