source: LMDZ6/branches/LMDZ_ECRad/libf/phylmd/ecrad/ifs/Makefile

Last change on this file was 4728, checked in by idelkadi, 10 months ago

Update of ecrad in the LMDZ_ECRad branch of LMDZ:

  • version 1.6.1 of ecrad
  • files are no longer grouped in the same ecrad directory.
  • the structure of ecrad offline is preserved to facilitate updating in LMDZ
  • cfg.bld modified to take into account the new added subdirectories.
  • the interface routines and those added in ecrad are moved to the phylmd directory
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.