source: LMDZ6/trunk/libf/phylmd/ecrad-acc/ifs/Makefile

Last change on this file was 6016, checked in by yann meurdesoif, 3 months ago

Add new ecrad version from DWD ported onto OpenACC, closed from original ecrad ECMWF starting point for LMDZ ecrad version.

Modification from ecrad-lmdz version has been included.

YM

  • Property svn:eol-style set to native
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.