Last change
on this file since 40 was
40,
checked in by roche, 8 years ago
|
Little tweaks for getting libgrisli without main program. Backported gfortran makefile changes into ifort makefile.
|
File size:
915 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) |
---|
12 | ifort ?= 0 |
---|
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 |
---|
16 | mkl_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.