source: LMDZ6/trunk/libf/phylmd/ecrad/ifs/Makefile @ 4773

Last change on this file since 4773 was 4773, checked in by idelkadi, 5 months ago
  • Update of Ecrad in LMDZ The same organization of the Ecrad offline version is retained in order to facilitate the updating of Ecrad in LMDZ and the comparison between online and offline results. version 1.6.1 of Ecrad (https://github.com/lguez/ecrad.git)
  • Implementation of the double call of Ecrad in LMDZ


File size: 946 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
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
Note: See TracBrowser for help on using the repository browser.