/[MITgcm]/MITgcm/pkg/regrid/Makefile
ViewVC logotype

Contents of /MITgcm/pkg/regrid/Makefile

Parent Directory Parent Directory | Revision Log Revision Log | View Revision Graph Revision Graph


Revision 1.1 - (show annotations) (download)
Tue Aug 15 04:05:48 2006 UTC (17 years, 9 months ago) by edhill
Branch: MAIN
CVS Tags: checkpoint58u_post, checkpoint58w_post, checkpoint60, checkpoint61, checkpoint62, checkpoint58r_post, checkpoint58x_post, checkpoint58t_post, checkpoint58q_post, checkpoint59q, checkpoint59p, checkpoint59r, checkpoint59e, checkpoint59d, checkpoint59g, checkpoint59f, checkpoint59a, checkpoint59c, checkpoint59b, checkpoint59m, checkpoint59l, checkpoint59o, checkpoint59n, checkpoint59i, checkpoint59h, checkpoint59k, checkpoint59j, checkpoint59, checkpoint58o_post, checkpoint62c, checkpoint62b, checkpoint62a, checkpoint62g, checkpoint62f, checkpoint62e, checkpoint62d, checkpoint58y_post, checkpoint58v_post, checkpoint58s_post, checkpoint61f, checkpoint61g, checkpoint61d, checkpoint61e, checkpoint61b, checkpoint61c, checkpoint58p_post, checkpoint61a, checkpoint61n, checkpoint61o, checkpoint61l, checkpoint61m, checkpoint61j, checkpoint61k, checkpoint61h, checkpoint61i, checkpoint61v, checkpoint61w, checkpoint61t, checkpoint61u, checkpoint61r, checkpoint61s, checkpoint61p, checkpoint61q, checkpoint61z, checkpoint61x, checkpoint61y
initial check-in

1 #
2 # $Header: /u/gcmpack/MITgcm_contrib/eh3/regrid/regrid/Makefile,v 1.1 2006/08/10 05:00:15 edhill Exp $
3 #
4 # A Makefile for REGRID templates
5 #
6
7 FC = f77
8 CPP = cpp
9
10 .SUFFIXES:
11 .SUFFIXES: .T .t .F .f .h .o
12
13 .t.h:
14 cat $< > $@
15 .T.F:
16 cat $< > $@
17 .F.f:
18 $(CPP) $(DEFINES) > $@
19 .f.o:
20 $(FC) -DMNC_TEST -c $<
21
22
23 all: templates
24
25 TEMPLATE_FILES = \
26 regrid_scalar_out_RS.F \
27 regrid_scalar_out_RL.F
28 TEMPLATE_OBJECTS = $(TEMPLATE_FILES:.F=.o)
29
30 templates: $(TEMPLATE_FILES)
31
32 regrid_scalar_out_RS.F: regrid_scalar_out.template
33 cat regrid_scalar_out.template | sed -e 's/RX/RS/g' | sed -e 's/__V/_RS/g' > regrid_scalar_out_RS.F
34 regrid_scalar_out_RL.F: regrid_scalar_out.template
35 cat regrid_scalar_out.template | sed -e 's/RX/RL/g' | sed -e 's/__V/_RL/g' > regrid_scalar_out_RL.F
36
37
38 CLEAN:
39 @make clean
40
41 Clean:
42 @make clean
43
44 clean:
45 -rm -f $(TEMPLATE_FILES)
46

  ViewVC Help
Powered by ViewVC 1.1.22