Merge remote-tracking branch 'origin/release-v4.5.2'
[WRF.git] / var / convertor / average_be / Makefile
bloba9a9bb0a2c8b0333207ce88c5e0f345545b0ffab
1 .SUFFIXES: .F .o
3 FC = xlf90
4 CPP = /usr/local/bin/cpp -P -traditional
5 FCFLAGS = -qfree=f90 -qrealsize=8 -qcheck -g
6 LDFLAGS = -g -qcheck
8 OBJS = average_be.o \
9 rd_be_cv_5.o \
10 wr_be_cv_5.o \
11 module_readwrf.o \
12 da_interpolate_regcoeff.o \
13 da_interpolate_stats.o \
14 da_1d_eigendecomposition.o \
15 module_be_type.o
17 all: average_be.exe
19 clean:
20 rm -f *.o *.mod *.exe
22 average_be.exe: $(OBJS)
23 $(FC) $(LDFLAGS) -o average_be.exe $(OBJS) -L$(NETCDF)/lib -lnetcdf -L$(LAPACK) -llapack -L$(BLAS) -lblas
25 average_be.o: rd_be_cv_5.o wr_be_cv_5.o module_be_type.o module_readwrf.o
27 da_interpolate_regcoeff.o:
29 da_interpolate_stats.o: da_1d_eigendecomposition.o
31 rd_be_cv_5.o: module_be_type.o
33 wr_be_cv_5.o: module_be_type.o
35 module_be_type.o:
37 .F.o:
38 $(CPP) -I$(NETCDF)/include $*.F > $*.f90
39 $(FC) $(FCFLAGS) -c $*.f90
40 rm -f $*.f90