File indexing completed on 2018-03-02 18:43:05 UTC
view on githubraw file Latest commit add29e06 on 2018-01-31 20:35:05 UTC
aa076db465 Ed H*0001
0002
0003
0004
0005
0006 FC = f77
0007 CPP = cpp
0008
0009 .SUFFIXES:
0010 .SUFFIXES: .T .t .F .f .h .o
0011
0012 .t.h:
0013 cat $< > $@
0014 .T.F:
0015 cat $< > $@
0016 .F.f:
0017 $(CPP) $(DEFINES) > $@
0018 .f.o:
0019 $(FC) -DMNC_TEST -c $<
0020
0021
0022 all: templates
0023
0024 TEMPLATE_FILES = \
0025 regrid_scalar_out_RS.F \
0026 regrid_scalar_out_RL.F
0027 TEMPLATE_OBJECTS = $(TEMPLATE_FILES:.F=.o)
0028
0029 templates: $(TEMPLATE_FILES)
0030
0031 regrid_scalar_out_RS.F: regrid_scalar_out.template
0032 cat regrid_scalar_out.template | sed -e 's/RX/RS/g' | sed -e 's/__V/_RS/g' > regrid_scalar_out_RS.F
0033 regrid_scalar_out_RL.F: regrid_scalar_out.template
0034 cat regrid_scalar_out.template | sed -e 's/RX/RL/g' | sed -e 's/__V/_RL/g' > regrid_scalar_out_RL.F
0035
0036
0037 CLEAN:
0038 @make clean
0039
0040 Clean:
0041 @make clean
0042
0043 clean:
0044 -rm -f $(TEMPLATE_FILES)
0045
ff8344113e Jean*0046 clean_old: