source: branches/iLoveclim/SOURCES/Makefile @ 78

Last change on this file since 78 was 78, checked in by roche, 8 years ago

Corrected a few little issues to create libgrisli with gfortran. afq, dmr

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