source: LMDZ6/branches/Amaury_dev/libf/phylmd/ecrad/ifs/Makefile @ 5133

Last change on this file since 5133 was 4853, checked in by idelkadi, 9 months ago

Ecrad update in LMDZ / Implementation of Ecrad double call in LMDZ

  • version 1.6.1 (commit 210d7911380f53a788c3cad73b3cf9b4e022ef87)
  • interface routines between lmdz and ecrad grouped in a new "lmdz" directory
  • double call method redesigned so as to go through the Ecrad initialization and configuration part only once for the entire simulation
  • clean-up in the read.F routine: delete unitules arguments
  • modification of default gas model in namelist (default: ECCKD)
File size: 985 bytes
Line 
1SOURCES = ice_effective_radius.F90 liquid_effective_radius.F90 \
2        radiation_scheme.F90 radiation_setup.F90 yoerdu.F90 \
3        yomrip.F90 yoephy.F90 yoecld.F90 yoe_spectral_planck.F90 \
4        cloud_overlap_decorr_len.F90 yoerad.F90 yoethf.F90 satur.F90
5
6OBJECTS := $(SOURCES:.F90=.o)
7LIBIFS = ../lib/libifs.a
8
9all: $(LIBIFS)
10
11deps: includes
12
13$(LIBIFS): $(OBJECTS)
14        ar r $(LIBIFS) $(OBJECTS)
15
16%.o: %.F90 ../lib/libifsaux.a ../lib/libradiation.a
17        $(FC) $(FCFLAGS) -c $<
18
19includes:
20        fcm make --config-file=../bin/fcm-make-interfaces.cfg interfaces.ns-incl=ifs interfaces.source=$(shell dirname $(realpath $(firstword $(MAKEFILE_LIST))))/..
21
22clean:
23        rm -f *.o $(LIBIFS)
24
25.PHONY: deps includes clean-deps
26
27liquid_effective_radius.o: yoerdu.o
28radiation_scheme.o: radiation_setup.o
29radiation_setup.o: yoephy.o
30cloud_overlap_decorr_len.o: yoecld.o
31cos_sza.o ice_effective_radius.o liquid_effective_radius.o radiation_scheme.o radiation_setup.o: yoerad.o
32yoerad.o: yoe_spectral_planck.o
33satur.o: yoethf.o
Note: See TracBrowser for help on using the repository browser.