Merge remote-tracking branch 'origin/release-v4.6.1'
[WRF.git] / var / convertor / Makefile
blob73d954ad6d69b8ab5fe39adde9da1dc80c58f7c2
3 LN = ln -sf
4 MAKE = make -i -r
5 RM = rm -f
7 OBJS = module_kma2netcdf_interface.o \
8 module_netcdf2kma_interface.o \
9 da_tracing.o \
10 da_memory.o \
11 da_par_util1.o
13 MODULES = module_kma_wave2grid.o \
14 module_wave2grid_kma.o
16 LIBTARGET = convertor
17 TARGETDIR = ./
18 $(LIBTARGET) : $(MODULES) $(OBJS)
19 $(AR) $(ARFLAGS) ../../main/libwrflib.a $(OBJS) $(MODULES)
21 include ../configure.wrf
23 kma2netcdf : kma2netcdf.o
24 $(RANLIB) libwrflib.a
25 $(LD) -o kma2netcdf.exe $(LDFLAGS) kma2netcdf.o libwrflib.a $(LIB) -L.
27 netcdf2kma : netcdf2kma.o
28 $(RANLIB) libwrflib.a
29 $(LD) -o netcdf2kma.exe $(LDFLAGS) netcdf2kma.o libwrflib.a $(LIB) -L.
32 module_kma_wave2grid.o: \
33 kma_wave2grid/BSSLZ1.inc \
34 kma_wave2grid/CUT.inc \
35 kma_wave2grid/FFT991.inc \
36 kma_wave2grid/G2W.inc \
37 kma_wave2grid/G2WDZ.inc \
38 kma_wave2grid/G2WPP.inc \
39 kma_wave2grid/GAUSS.inc \
40 kma_wave2grid/GOUT.inc \
41 kma_wave2grid/IDCMP.inc \
42 kma_wave2grid/LGNDR1.inc \
43 kma_wave2grid/LGNUV.inc \
44 kma_wave2grid/LGNW2G.inc \
45 kma_wave2grid/LT2GAU.inc \
46 kma_wave2grid/MNMX.inc \
47 kma_wave2grid/RADB2M.inc \
48 kma_wave2grid/RADB3M.inc \
49 kma_wave2grid/RADB4M.inc \
50 kma_wave2grid/RADB5M.inc \
51 kma_wave2grid/RADBGM.inc \
52 kma_wave2grid/RADF2M.inc \
53 kma_wave2grid/RADF3M.inc \
54 kma_wave2grid/RADF4M.inc \
55 kma_wave2grid/RADF5M.inc \
56 kma_wave2grid/RADFGM.inc \
57 kma_wave2grid/REOWAV.inc \
58 kma_wave2grid/REOWV.inc \
59 kma_wave2grid/RESET.inc \
60 kma_wave2grid/RFFTBM.inc \
61 kma_wave2grid/RFFTFM.inc \
62 kma_wave2grid/RFFTIM.inc \
63 kma_wave2grid/RFTB1M.inc \
64 kma_wave2grid/RFTB2M.inc \
65 kma_wave2grid/RFTB9M.inc \
66 kma_wave2grid/RFTF1M.inc \
67 kma_wave2grid/RFTF2M.inc \
68 kma_wave2grid/RFTF3M.inc \
69 kma_wave2grid/RFTF9M.inc \
70 kma_wave2grid/RFTI1M.inc \
71 kma_wave2grid/SETARY.inc \
72 kma_wave2grid/W2G.inc \
73 kma_wave2grid/W2GCONV.inc \
74 kma_wave2grid/W2GPXY.inc \
75 kma_wave2grid/W2GUV.inc \
76 kma_wave2grid/WAVMAG.inc \
77 kma_wave2grid/WEIHT2.inc \
78 kma_wave2grid/ZNME2PXX.inc \
79 kma_wave2grid/module_kma_wave2grid.f90
80 $(CPP) -I./kma_wave2grid $(CPPFLAGS) kma_wave2grid/module_kma_wave2grid.f90 > module_kma_wave2grid.f
81 $(FC) -c -I./kma_wave2grid $(FIXEDFLAGS_WRFVAR) $(MODULE_DIRS) module_kma_wave2grid.f
83 module_wave2grid_kma.o: \
84 wave2grid_kma/BSSLZ1.inc \
85 wave2grid_kma/CR8I2V.inc \
86 wave2grid_kma/CVDATE.inc \
87 wave2grid_kma/GAUSS.inc \
88 wave2grid_kma/GH2TV.inc \
89 wave2grid_kma/LT2GAU.inc \
90 wave2grid_kma/GPLHGT.inc \
91 wave2grid_kma/MINMAX.inc \
92 wave2grid_kma/MONTWO.inc \
93 wave2grid_kma/OUTZ.inc \
94 wave2grid_kma/PRESUB.inc \
95 wave2grid_kma/REDANL.inc \
96 wave2grid_kma/REDDAT.inc \
97 wave2grid_kma/REDDAT_ASCII.inc \
98 wave2grid_kma/REDDAT_BIN.inc \
99 wave2grid_kma/REDGES.inc \
100 wave2grid_kma/REDHED.inc \
101 wave2grid_kma/RESET.inc \
102 wave2grid_kma/SPLDIF3_H.inc \
103 wave2grid_kma/TETEN.inc \
104 wave2grid_kma/PACK.inc \
105 wave2grid_kma/VPRM.inc \
106 wave2grid_kma/WRTDAT.inc \
107 wave2grid_kma/WRTEOF.inc \
108 wave2grid_kma/WRTHED.inc \
109 wave2grid_kma/ZE2TVE.inc \
110 wave2grid_kma/ZMNLAT.inc \
111 wave2grid_kma/ZMNT.inc \
112 wave2grid_kma/PREGSM.inc \
113 wave2grid_kma/PREGSM1.inc \
114 wave2grid_kma/Einc_to_Ganl.inc \
115 wave2grid_kma/RELHUM.inc \
116 wave2grid_kma/module_wave2grid_kma.f90
117 $(CPP) -I./wave2grid_kma $(CPPFLAGS) wave2grid_kma/module_wave2grid_kma.f90 > module_wave2grid_kma.f
118 $(FC) -c -I./wave2grid_kma $(FIXEDFLAGS_WRFVAR) $(MODULE_DIRS) module_wave2grid_kma.f
120 clean:
121 $(RM) *.f *.o *.mod
122 # @ echo 'use the clean script'
124 # DEPENDENCIES : only dependencies after this line (don't remove the word DEPENDENCIES)