source: LMDZ6/branches/LMDZ_ECRad/libf/phylmd/ecrad/ifsrrtm/Makefile @ 4999

Last change on this file since 4999 was 4728, checked in by idelkadi, 11 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: 3.1 KB
Line 
1OBJECTS = parrrtm.o parsrtm.o rrtm_prepare_gases.o      \
2rrtm_gas_optical_depth.o rrtm_setcoef_140gp.o   \
3rrtm_taumol1.o rrtm_taumol10.o rrtm_taumol11.o rrtm_taumol12.o          \
4rrtm_taumol13.o rrtm_taumol14.o rrtm_taumol15.o rrtm_taumol16.o         \
5rrtm_taumol2.o rrtm_taumol3.o rrtm_taumol4.o rrtm_taumol5.o             \
6rrtm_taumol6.o rrtm_taumol7.o rrtm_taumol8.o rrtm_taumol9.o             \
7srtm_setcoef.o surrtrf.o srtm_gas_optical_depth.o                       \
8srtm_taumol16.o srtm_taumol17.o srtm_taumol18.o srtm_taumol19.o         \
9srtm_taumol20.o srtm_taumol21.o srtm_taumol22.o srtm_taumol23.o         \
10srtm_taumol24.o srtm_taumol25.o srtm_taumol26.o srtm_taumol27.o         \
11srtm_taumol28.o srtm_taumol29.o yoerrta1.o yoerrta10.o yoerrta11.o      \
12yoerrta12.o yoerrta13.o yoerrta14.o yoerrta15.o yoerrta16.o             \
13yoerrta2.o yoerrta3.o yoerrta4.o yoerrta5.o yoerrta6.o yoerrta7.o       \
14yoerrta8.o yoerrta9.o yoerrtab.o yoesrta16.o yoesrta17.o yoesrta18.o    \
15yoesrta19.o yoesrta20.o yoesrta21.o yoesrta22.o yoesrta23.o             \
16yoesrta24.o yoesrta25.o yoesrta26.o yoesrta27.o yoesrta28.o             \
17yoesrta29.o yoesrtab.o yoesrtaer.o yoesw.o                              \
18yom_ygfl.o yomdimv.o yoerrtm.o yoerrtftr.o yoerrtrf.o                   \
19yoerrtwn.o yoesrtwn.o yoesrtm.o yoerdi.o rrtm_init_140gp.o              \
20yoerrtbg2.o yoerrtrwt.o surdi.o surrtab.o surrtpk.o surrtftr.o          \
21srtm_init.o rrtm_cmbgb1.o rrtm_cmbgb10.o rrtm_cmbgb11.o                 \
22rrtm_cmbgb12.o rrtm_cmbgb13.o rrtm_cmbgb14.o rrtm_cmbgb15.o             \
23rrtm_cmbgb16.o rrtm_cmbgb2.o rrtm_cmbgb3.o rrtm_cmbgb4.o                \
24rrtm_cmbgb5.o rrtm_cmbgb6.o rrtm_cmbgb7.o rrtm_cmbgb8.o rrtm_cmbgb9.o   \
25rrtm_kgb1.o rrtm_kgb10.o rrtm_kgb11.o rrtm_kgb12.o rrtm_kgb13.o         \
26rrtm_kgb14.o rrtm_kgb15.o rrtm_kgb16.o rrtm_kgb2.o rrtm_kgb3.o          \
27rrtm_kgb4.o rrtm_kgb5.o rrtm_kgb6.o rrtm_kgb7.o rrtm_kgb8.o             \
28rrtm_kgb9.o srtm_cmbgb16.o srtm_cmbgb17.o srtm_cmbgb18.o                \
29srtm_cmbgb19.o srtm_cmbgb20.o srtm_cmbgb21.o srtm_cmbgb22.o             \
30srtm_cmbgb23.o srtm_cmbgb24.o srtm_cmbgb25.o srtm_cmbgb26.o             \
31srtm_cmbgb27.o srtm_cmbgb28.o srtm_cmbgb29.o srtm_kgb16.o               \
32srtm_kgb17.o srtm_kgb18.o srtm_kgb19.o srtm_kgb20.o srtm_kgb21.o        \
33srtm_kgb22.o srtm_kgb23.o srtm_kgb24.o srtm_kgb25.o srtm_kgb26.o        \
34srtm_kgb27.o srtm_kgb28.o srtm_kgb29.o yoerrto1.o yoerrto10.o           \
35yoerrto11.o yoerrto12.o yoerrto13.o yoerrto14.o yoerrto15.o             \
36yoerrto16.o yoerrto2.o yoerrto3.o yoerrto4.o yoerrto5.o yoerrto6.o      \
37yoerrto7.o yoerrto8.o yoerrto9.o susrtm.o modify_wv_continuum.o
38
39SOURCES := $(OBJECTS:.o=.F90)
40
41MAKE_DEPS = ../bin/make_deps.sh
42MAKE_DUMMY_INCLUDES = ../bin/make_dummy_includes.sh
43MAKE_INCLUDES = ../bin/make_intfbl.1.pl
44INCLUDE_DIR = ../include
45
46DEPS_FILE = Makefile_deps
47
48LIBIFSRRTM = ../lib/libifsrrtm.a
49
50all: $(LIBIFSRRTM)
51
52#deps: clean-deps $(DEPS_FILE) dummy_includes
53deps: clean-deps $(DEPS_FILE) includes
54
55$(LIBIFSRRTM): $(OBJECTS)
56        ar r $(LIBIFSRRTM) $(OBJECTS)
57
58%.o: %.F90
59        $(FC) $(FCFLAGS) -c $<
60
61$(DEPS_FILE): $(SOURCES) 
62        $(MAKE_DEPS) $(SOURCES) > $(DEPS_FILE)
63
64dummy_includes:
65        $(MAKE_DUMMY_INCLUDES) $(SOURCES)
66
67includes:
68        LOC_INTFBDIR=$(INCLUDE_DIR) INTFBDIR=$(INCLUDE_DIR) $(MAKE_INCLUDES) $(SOURCES)
69
70count:
71        echo $(OBJECTS) | wc
72
73clean:
74        rm -f *.o $(LIBIFSRRTM)
75
76dist-clean: clean-deps
77
78clean-deps:
79        rm -f Makefile_deps
80
81.PHONY: deps dummy_includes includes clean-deps
82
83include $(DEPS_FILE)
84
Note: See TracBrowser for help on using the repository browser.