source: LMDZ6/trunk/libf/phylmd/ecrad/radiation/Makefile @ 4848

Last change on this file since 4848 was 4773, checked in by idelkadi, 11 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: 5.4 KB
Line 
1SOURCES = radiation_aerosol.F90 radiation_config.F90 \
2        radiation_flux.F90      radiation_cloud.F90 \
3        radiation_thermodynamics.F90 radiation_lw_derivatives.F90 \
4        radiation_gas.F90       radiation_single_level.F90 \
5        radiation_cloud_optics_data.F90 \
6        radiation_interface.F90 radiation_cloud_optics.F90 \
7        radiation_overlap.F90   radiation_two_stream.F90 \
8        radiation_save.F90      radiation_monochromatic.F90 \
9        radiation_constants.F90 radiation_matrix.F90 \
10        radiation_spartacus_sw.F90 radiation_cloud_cover.F90 \
11        radiation_spartacus_lw.F90 radiation_pdf_sampler.F90 \
12        radiation_aerosol_optics.F90 radiation_aerosol_optics_data.F90 \
13        radiation_ifs_rrtm.F90  radiation_adding_ica_sw.F90 \
14        radiation_mcica_sw.F90  radiation_cloud_generator.F90 \
15        radiation_mcica_lw.F90  radiation_adding_ica_lw.F90 \
16        radiation_homogeneous_sw.F90 radiation_homogeneous_lw.F90 \
17        radiation_ice_optics_fu.F90 radiation_ice_optics_baran.F90 \
18        radiation_ice_optics_baran2017.F90 radiation_ice_optics_yi.F90 \
19        radiation_liquid_optics_socrates.F90 radiation_liquid_optics_slingo.F90 \
20        radiation_tripleclouds_sw.F90 radiation_tripleclouds_lw.F90 \
21        radiation_regions.F90 radiation_ecckd.F90 \
22        radiation_cloudless_lw.F90 radiation_cloudless_sw.F90 \
23        radiation_check.F90   radiation_ecckd_interface.F90 \
24        radiation_gas_constants.F90 radiation_ecckd_gas.F90 \
25        radiation_spectral_definition.F90 radiation_general_cloud_optics.F90 \
26        radiation_general_cloud_optics_data.F90 radiation_random_numbers.F90 \
27        radiation_aerosol_optics_description.F90
28
29OBJECTS := $(SOURCES:.F90=.o)
30LIBRAD = ../lib/libradiation.a
31
32all: $(LIBRAD)
33
34$(LIBRAD): $(OBJECTS)
35        ar r $(LIBRAD) $(OBJECTS)
36
37%.o: %.F90
38        $(FC) $(FCFLAGS) -c $<
39
40clean:
41        rm -f *.o $(LIBRAD)
42
43radiation_flux.o radiation_aerosol.o: radiation_config.o
44radiation_interface.o: radiation_aerosol.o radiation_config.o \
45        radiation_flux.o radiation_cloud.o radiation_save.o \
46        radiation_single_level.o radiation_gas.o radiation_monochromatic.o \
47        radiation_thermodynamics.o radiation_spartacus_sw.o \
48        radiation_spartacus_lw.o radiation_cloud_optics.o \
49        radiation_aerosol_optics.o radiation_config.o \
50        radiation_ifs_rrtm.o radiation_mcica_sw.o radiation_mcica_lw.o \
51        radiation_homogeneous_lw.o radiation_homogeneous_sw.o \
52        radiation_cloudless_lw.o radiation_cloudless_sw.o \
53        radiation_tripleclouds_sw.o radiation_tripleclouds_lw.o \
54        radiation_ecckd_interface.o radiation_general_cloud_optics.o
55radiation_ifs_rrtm.o radiation_monochromatic.o: radiation_config.o \
56        radiation_thermodynamics.o radiation_gas.o radiation_single_level.o
57radiation_spartacus_sw.o radiation_spartacus_lw.o radiation_mcica_sw.o \
58        radiation_mcica_lw.o radiation_homogeneous_sw.o radiation_homogeneous_lw.o \
59        radiation_cloudless_sw.o radiation_cloudless_lw.o: \
60        radiation_config.o \
61        radiation_thermodynamics.o \
62        radiation_single_level.o radiation_cloud.o \
63        radiation_two_stream.o
64radiation_cloud.o: radiation_thermodynamics.o
65radiation_save.o: radiation_config.o \
66        radiation_single_level.o radiation_thermodynamics.o \
67        radiation_cloud.o
68radiation_single_level.o: radiation_config.o
69radiation_monochromatic.o radiation_aerosol_optics.o radiation_cloud_optics.o \
70        radiation_homogeneous_sw.o radiation_spartacus_lw.o \
71        radiation_cloudless_sw.o radiation_cloudless_lw.o \
72        radiation_ecckd.o radiation_flux.o \
73        radiation_spartacus_sw.o radiation_thermodynamics.o: radiation_constants.o
74radiation_cloud_optics.o radiation_config.o: \
75        radiation_cloud_optics_data.o
76radiation_cloud_optics.o: radiation_ice_optics_baran.o radiation_ice_optics_fu.o \
77        radiation_liquid_optics_socrates.o radiation_liquid_optics_slingo.o \
78        radiation_ice_optics_baran2017.o radiation_ice_optics_yi.o
79radiation_aerosol_optics.o radiation_config.o: \
80        radiation_aerosol_optics_data.o
81radiation_mcica_sw.o radiation_homogeneous_sw.o: radiation_adding_ica_sw.o radiation_cloud_generator.o
82radiation_mcica_lw.o radiation_homogeneous_lw.o: radiation_adding_ica_lw.o radiation_cloud_generator.o \
83        radiation_lw_derivatives.o
84radiation_cloudless_sw.o: radiation_adding_ica_sw.o
85radiation_cloudless_lw.o radiation_tripleclouds_lw.o: radiation_adding_ica_lw.o radiation_lw_derivatives.o
86radiation_aerosol_optics.o radiation_cloud_optics.o: \
87        radiation_config.o
88radiation_cloud_generator.o radiation_config.o: radiation_pdf_sampler.o \
89        radiation_cloud_cover.o radiation_random_numbers.o
90radiation_lw_derivatives.o: radiation_matrix.o
91
92radiation_config.o: radiation_cloud_generator.o radiation_ecckd.o radiation_general_cloud_optics_data.o
93
94radiation_aerosol_optics.F90 radiation_cloud_optics.F90 radiation_homogeneous_sw.F90 \
95        radiation_mcica_sw.F90 radiation_cloudless_sw.o: radiation_delta_eddington.h
96radiation_spartacus_sw.o radiation_spartacus_lw.o \
97        radiation_tripleclouds_sw.o radiation_tripleclouds_lw.o: \
98        radiation_optical_depth_scaling.h radiation_overlap.o \
99        radiation_matrix.o radiation_flux.o radiation_regions.o
100radiation_ecckd.o: radiation_ecckd_gas.o radiation_spectral_definition.o
101radiation_ecckd_gas.o: radiation_gas_constants.o
102radiation_ecckd_interface.o: radiation_config.o radiation_single_level.o radiation_thermodynamics.o \
103        radiation_gas.o radiation_gas_constants.o
104
105radiation_gas.o radiation_single_level.o radiation_thermodynamics.o \
106        radiation_flux.o radiation_aerosol.o: radiation_check.o
107
108radiation_gas.o: radiation_gas_constants.o
109
110radiation_general_cloud_optics_data.o: radiation_spectral_definition.o
111
112radiation_general_cloud_optics.o: radiation_config.o radiation_cloud.o radiation_thermodynamics.o radiation_constants.o
Note: See TracBrowser for help on using the repository browser.