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