ctbtodev
Last change
on this file since c97d8ec was
c97d8ec,
checked in by Anne Philipp <anne.philipp@…>, 6 years ago
|
new compilation and adaptations on CONTROL files for CERA (NUMBER parameter has to be set to a number (0))
|
-
Property mode set to
100644
|
File size:
1.6 KB
|
Rev | Line | |
---|
[2fb99de] | 1 | ############################################################################### |
---|
| 2 | # |
---|
| 3 | # Top level Makefile for ECMWFDATA7.0 software |
---|
| 4 | # |
---|
| 5 | # Last modified: December 1, 2015 |
---|
| 6 | # |
---|
| 7 | ############################################################################### |
---|
| 8 | |
---|
| 9 | |
---|
| 10 | .SUFFIXES: .o .c .c~ .f .f~ .F90 .f90 .f90~ .f95 .f95~ .F .F~ .y .y~ .l .l~ \ |
---|
| 11 | .s .s~ .sh .sh~ .h .h~ .C .C~ .a |
---|
| 12 | |
---|
| 13 | OPT = -g |
---|
| 14 | DEBUG = -g |
---|
[c97d8ec] | 15 | LIB = $(GRIB_API_LIB) $(EMOSLIB) |
---|
| 16 | #$(ECCODES_LIB) |
---|
[2fb99de] | 17 | |
---|
| 18 | FC=gfortran -m64 -fdefault-real-8 -fcray-pointer -fno-second-underscore -ffixed-line-length-132 -fopenmp -fconvert=big-endian |
---|
| 19 | F90C=gfortran -m64 -fdefault-real-8 -fcray-pointer -fno-second-underscore -ffixed-line-length-132 -fopenmp -fconvert=big-endian |
---|
| 20 | |
---|
[c97d8ec] | 21 | FFLAGS = $(OPT) -I. -I$(GRIB_API_INCLUDE_DIR) |
---|
| 22 | #-I$(ECCODES_INCLUDE_DIR) |
---|
| 23 | F90FLAGS = $(OPT) -I. -I$(GRIB_API_INCLUDE_DIR) |
---|
| 24 | #-I$(ECCODES_INCLUDE_DIR) |
---|
[2fb99de] | 25 | |
---|
| 26 | LDFLAGS = $(OPT) |
---|
| 27 | |
---|
| 28 | BINDIR = . |
---|
| 29 | |
---|
| 30 | EXE = CONVERT2 |
---|
| 31 | |
---|
| 32 | |
---|
| 33 | .f.o: |
---|
| 34 | $(F90C) -c $(F90FLAGS) $(DEBUG) $*.f |
---|
| 35 | .f90.o: |
---|
| 36 | $(F90C) -c $(F90FLAGS) $(DEBUG) $*.f90 |
---|
| 37 | |
---|
| 38 | all: ${EXE} |
---|
| 39 | |
---|
| 40 | clean: |
---|
| 41 | rm *.o |
---|
| 42 | |
---|
| 43 | phgrreal.o: phgrreal.f |
---|
| 44 | $(F90C) -c -g -O3 -fopenmp phgrreal.f |
---|
| 45 | |
---|
| 46 | grphreal.o: grphreal.f |
---|
| 47 | $(F90C) -c -g -O3 -fopenmp grphreal.f |
---|
| 48 | |
---|
| 49 | ftrafo.o: ftrafo.f |
---|
| 50 | $(F90C) -c -g -O3 -fopenmp ftrafo.f |
---|
| 51 | |
---|
[7f89fb3] | 52 | $(BINDIR)/${EXE}: phgrreal.o grphreal.o ftrafo.o rwGRIB2.o posnam.o preconvert.o |
---|
| 53 | $(F90C) $(DEBUG) $(OPT) -o $(BINDIR)/${EXE} ftrafo.o phgrreal.o grphreal.o rwGRIB2.o posnam.o preconvert.o ${LIB} |
---|
[2fb99de] | 54 | |
---|
| 55 | |
---|
| 56 | ############################################################################### |
---|
| 57 | # |
---|
| 58 | # End of the Makefile |
---|
| 59 | # |
---|
| 60 | ############################################################################### |
---|
Note: See
TracBrowser
for help on using the repository browser.