source: flexpart.git/preproc/src/makefile @ 5763793

FPv9.3.1FPv9.3.1b_testingFPv9.3.2devfp9.3.1-20161214-nc4grib2nc4_repairrelease-10univie
Last change on this file since 5763793 was 5763793, checked in by Anne Fouilloux <annefou@…>, 5 years ago

Add pre-processing programs and examples. This is still under development!

  • Property mode set to 100644
File size: 1.5 KB
Line 
1###############################################################################
2#
3# Top level Makefile for ECMWFDATA software
4#
5# Last modified:  August 20, 2013
6#
7###############################################################################
8
9.SUFFIXES: .o .c .f .f90 .f95 .F
10
11
12.f90.o: 
13        $(F90C) -c $(F90FLAGS)  $<
14
15
16TARGET_ARCH =
17OPT     = -g -O
18DEBUG   = -g -O
19LIB     = 
20FC=gfortran  -m64  -fdefault-real-8 -fcray-pointer -fno-second-underscore  -ffixed-line-length-132 -fopenmp -fconvert=big-endian  -fmax-stack-var-size=100000000 
21F90C=gfortran   -m64 -fdefault-real-8 -fcray-pointer -fno-second-underscore  -ffixed-line-length-132 -fopenmp  -fconvert=big-endian  -fmax-stack-var-size=100000000 
22GRIB_API_INCLUDE = $(GRIB_API_FFLAGS)
23GRIB_API_LIB = $(GRIB_API_LDFLAGS)
24FFLAGS =  $(OPT) $(DEBUG) -I. $(GRIB_API_INCLUDE)
25F90FLAGS =  $(OPT) $(DEBUG)  -I. $(GRIB_API_INCLUDE)
26LDFLAGS =  $(OPT) $(DEBUG)
27EMOSLIB=$(EMOS_LDFLAGS) 
28LIB =  $(EMOSLIB)  $(GRIB_API_LIB) -lgcc -lm -fdefault-integer-8  -lgfortran -ljasper
29
30F90=$(F90C)
31
32BINDIR  =      .
33
34EXE     =       CONVERT2
35
36all:    ${EXE}
37
38clean:
39        rm *.o *.mod ${EXE} 
40
41phgrreal.o: phgrreal.f90
42        $(F90) -c -g -O3 -fopenmp phgrreal.f90
43
44grphreal.o: grphreal.f90
45        $(F90) -c -g -O3 -fopenmp grphreal.f90
46
47ftrafo.o: ftrafo.f90
48        $(F90) -c -g -O3 -fopenmp ftrafo.f90
49
50CONVERT2:       phgrreal.o grphreal.o ftrafo.o rwGRIB2.o  preconvert.o
51        $(F90) $(DEBUG) $(OPT) -o CONVERT2 ftrafo.o phgrreal.o grphreal.o rwGRIB2.o preconvert.o ${LIB}
52
53#
54# End of the Makefile
55#
56###############################################################################
Note: See TracBrowser for help on using the repository browser.
hosted by ZAMG