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
|
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) |
---|
13 | ifort := 0 |
---|
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 |
---|
17 | mkl_c := 0 |
---|
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.