Page Menu
Home
c4science
Search
Configure Global Search
Log In
Files
F102793449
Makefile
No One
Temporary
Actions
Download File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Award Token
Subscribers
None
File Metadata
Details
File Info
Storage
Attached
Created
Mon, Feb 24, 06:09
Size
846 B
Mime Type
text/x-makefile
Expires
Wed, Feb 26, 06:09 (2 d)
Engine
blob
Format
Raw Data
Handle
24426285
Attached To
R2795 mitgcm_lac_leman_abirani
Makefile
View Options
#
# $Header: /u/gcmpack/MITgcm/pkg/regrid/Makefile,v 1.2 2010/05/25 23:30:34 jmc Exp $
#
# A Makefile for REGRID templates
#
FC = f77
CPP = cpp
.SUFFIXES:
.SUFFIXES: .T .t .F .f .h .o
.t.h:
cat $< > $@
.T.F:
cat $< > $@
.F.f:
$(CPP) $(DEFINES) > $@
.f.o:
$(FC) -DMNC_TEST -c $<
all: templates
TEMPLATE_FILES = \
regrid_scalar_out_RS.F \
regrid_scalar_out_RL.F
TEMPLATE_OBJECTS = $(TEMPLATE_FILES:.F=.o)
templates: $(TEMPLATE_FILES)
regrid_scalar_out_RS.F: regrid_scalar_out.template
cat regrid_scalar_out.template | sed -e 's/RX/RS/g' | sed -e 's/__V/_RS/g' > regrid_scalar_out_RS.F
regrid_scalar_out_RL.F: regrid_scalar_out.template
cat regrid_scalar_out.template | sed -e 's/RX/RL/g' | sed -e 's/__V/_RL/g' > regrid_scalar_out_RL.F
CLEAN:
@make clean
Clean:
@make clean
clean:
-rm -f $(TEMPLATE_FILES)
clean_old:
Event Timeline
Log In to Comment