source: flex_extract.git/src/Makefile.CRAY @ e18f4b5

Last change on this file since e18f4b5 was e18f4b5, checked in by skomo <p.skomorowski@…>, 9 months ago

initial git repo of version 7.0.3

  • Property mode set to 100644
File size: 1.5 KB
Line 
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
14#GRIB_API_INCLUDE_DIR=/usr/local/gcc-4.9.3/grib1.12.3//include
15#GRIB_API_LIB=-openmp -L/usr/local/gcc-4.9.3/grib1.12.3/lib -Bstatic  -lgrib_api_f77 -lgrib_api_f90 -lgrib_api -Bdynamic  -lm  -ljasper
16#EMOSLIB=-lemosR64
17
18OPT     =
19DEBUG   = -g
20LIB     =  $(GRIB_API_LIBS) $(EMOSLIB)
21
22FC=ftn  $(F90FLAGS)
23F90C=ftn    $(F90FLAGS)
24
25FFLAGS =  $(OPT) -I. -r8 -I$(GRIB_API_INCLUDE_DIR)
26F90FLAGS =  $(OPT) -I. -r8 -I$(GRIB_API_INCLUDE_DIR)
27
28LDFLAGS =  $(OPT)
29
30BINDIR  =      .
31
32EXE     =      CONVERT2
33
34
35.f.o:
36        $(F90C) -c $(F90FLAGS) $(DEBUG) $*.f
37.f90.o:
38        $(F90C) -c $(F90FLAGS) $(DEBUG) $*.f90
39
40all:    ${EXE}
41
42clean:
43        rm *.o
44
45phgrreal.o: phgrreal.f
46        $(F90C) -c -g -O3 phgrreal.f
47
48grphreal.o: grphreal.f
49        $(F90C) -c -g -O3 grphreal.f
50
51ftrafo.o: ftrafo.f
52        $(F90C) -c -g -O3 ftrafo.f
53
54$(BINDIR)/CONVERT2:     phgrreal.o grphreal.o ftrafo.o rwGRIB2.o  posnam.o preconvert.o
55        $(F90C) $(DEBUG) $(OPT) -o $(BINDIR)/CONVERT2 ftrafo.o phgrreal.o grphreal.o rwGRIB2.o posnam.o preconvert.o ${LIB}
56
57
58###############################################################################
59#
60# End of the Makefile
61#
62###############################################################################
Note: See TracBrowser for help on using the repository browser.
hosted by ZAMG