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
|
Rev | Line | |
---|
[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] | 13 | ifort := 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] | 17 | mkl_c := 0 |
---|
[22] | 18 | |
---|
[78] | 19 | ifeq ($(ifort),1) |
---|
[22] | 20 | include Fichiers-parametres/Makefile.tof-lsce3130.inc |
---|
[78] | 21 | else |
---|
| 22 | include Fichiers-parametres/Makefile.dmr-lsce3027.inc |
---|
| 23 | endif |
---|
[22] | 24 | |
---|
[5] | 25 | # Compilation (le corps du Makefile) |
---|
| 26 | #------------------------------------------- |
---|
[22] | 27 | |
---|
[78] | 28 | ifeq ($(ifort),1) |
---|
[22] | 29 | include Makefile.grisli.inc |
---|
[78] | 30 | else |
---|
| 31 | include Makefile.grisli-gfortran.inc |
---|
| 32 | endif |
---|
Note: See
TracBrowser
for help on using the repository browser.