1 | #--------------------------------------------------------------------------------# |
---|
2 | # This file is part of the PALM model system. |
---|
3 | # |
---|
4 | # PALM is free software: you can redistribute it and/or modify it under the terms |
---|
5 | # of the GNU General Public License as published by the Free Software Foundation, |
---|
6 | # either version 3 of the License, or (at your option) any later version. |
---|
7 | # |
---|
8 | # PALM is distributed in the hope that it will be useful, but WITHOUT ANY |
---|
9 | # WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR |
---|
10 | # A PARTICULAR PURPOSE. See the GNU General Public License for more details. |
---|
11 | # |
---|
12 | # You should have received a copy of the GNU General Public License along with |
---|
13 | # PALM. If not, see <http://www.gnu.org/licenses/>. |
---|
14 | # |
---|
15 | # Copyright 1997-2020 Leibniz Universitaet Hannover |
---|
16 | #--------------------------------------------------------------------------------# |
---|
17 | # |
---|
18 | # WARNING: don't write filenames with extension .f90 in this header!!!! |
---|
19 | # |
---|
20 | # Current revisions: |
---|
21 | # ------------------ |
---|
22 | # |
---|
23 | # |
---|
24 | # Former revisions: |
---|
25 | # ----------------- |
---|
26 | # $Id: Makefile 4481 2020-03-31 18:55:54Z raasch $ |
---|
27 | # |
---|
28 | # 1585 2015-04-30 07:05:52Z maronga |
---|
29 | # Initial revision |
---|
30 | # |
---|
31 | # Description: |
---|
32 | # ------------ |
---|
33 | # Makefile for the RRTMG library used in PALM |
---|
34 | #------------------------------------------------------------------------------! |
---|
35 | |
---|
36 | PROG = librrtmg |
---|
37 | |
---|
38 | SOURCES = rrsw_aer.f90 rrsw_kg18.f90 rrsw_kg23.f90 rrsw_kg28.f90 rrsw_vsn.f90 \ |
---|
39 | rrtmg_sw_reftra.f90 rrtmg_sw_vrtqdr.f90 \ |
---|
40 | rrsw_cld.f90 rrsw_kg19.f90 rrsw_kg24.f90 \ |
---|
41 | rrsw_kg29.f90 rrsw_wvn.f90 rrtmg_sw_setcoef.f90 \ |
---|
42 | rrsw_con.f90 rrsw_kg20.f90 rrsw_kg25.f90 \ |
---|
43 | rrsw_ncpar.f90 rrtmg_sw_rad.nomcica.f90 \ |
---|
44 | parkind.f90 rrsw_kg16.f90 rrsw_kg21.f90 \ |
---|
45 | rrsw_kg26.f90 rrsw_ref.f90 rrtmg_sw_cldprop.f90 \ |
---|
46 | rrtmg_sw_spcvrt.f90 parrrsw.f90 \ |
---|
47 | rrsw_kg17.f90 rrsw_kg22.f90 rrsw_kg27.f90 rrsw_tbl.f90 \ |
---|
48 | rrtmg_sw_init.f90 rrtmg_sw_read_nc.f90 rrtmg_sw_taumol.f90 \ |
---|
49 | rrlw_cld.f90 rrlw_kg01.f90 rrlw_kg03.f90 rrlw_kg05.f90 rrlw_kg07.f90 \ |
---|
50 | rrlw_kg09.f90 rrlw_kg11.f90 rrlw_kg13.f90 rrlw_kg15.f90 rrlw_ncpar.f90 \ |
---|
51 | rrlw_tbl.f90 rrlw_wvn.f90 rrlw_con.f90 rrlw_kg02.f90 rrlw_kg04.f90 rrlw_kg06.f90 \ |
---|
52 | rrlw_kg08.f90 rrlw_kg10.f90 rrlw_kg12.f90 rrlw_kg14.f90 rrlw_kg16.f90 rrlw_ref.f90 \ |
---|
53 | rrlw_vsn.f90 rrtmg_lw_cldprmc.f90 rrtmg_lw_init.f90 \ |
---|
54 | rrtmg_lw_rad.nomcica.f90 rrtmg_lw_rtrn.f90 rrtmg_lw_rtrnmr.f90 \ |
---|
55 | rrtmg_lw_taumol.f90 rrtmg_lw_cldprop.f90 parrrtm.f90 \ |
---|
56 | rrtmg_lw_read_nc.f90 rrtmg_lw_rtrnmc.f90 rrtmg_lw_setcoef.f90 |
---|
57 | |
---|
58 | |
---|
59 | OBJS=$(SOURCES:.f90=.o) |
---|
60 | |
---|
61 | CC = cc |
---|
62 | CFLAGS = -O |
---|
63 | |
---|
64 | F90 = |
---|
65 | COPT = |
---|
66 | F90FLAGS = |
---|
67 | |
---|
68 | #to_be_replaced_by_include |
---|
69 | |
---|
70 | .SUFFIXES: |
---|
71 | .SUFFIXES: .o .f90 |
---|
72 | |
---|
73 | |
---|
74 | all: $(PROG) |
---|
75 | |
---|
76 | # create static library |
---|
77 | $(PROG): $(OBJS) |
---|
78 | $(F90) $(F90FLAGS) $(COPT) -o $(PROG).so -shared $(OBJS) |
---|
79 | |
---|
80 | clean: |
---|
81 | rm -f $(PROG) $(OBJS) *.mod *.i *.lst *.so *.o *.a |
---|
82 | |
---|
83 | .f90.o: |
---|
84 | $(F90) $(F90FLAGS) $(COPT) -fpic -c $< |
---|
85 | |
---|
86 | |
---|
87 | |
---|
88 | parrrtm.o: parkind.o |
---|
89 | rrtmg_lw_init.o: parkind.o rrlw_wvn.o rrtmg_lw_setcoef.o rrtmg_lw_rtrnmr.o rrtmg_lw_taumol.o |
---|
90 | rrtmg_lw_rad.nomcica.o: parkind.o rrtmg_lw_cldprop.o rrtmg_lw_rtrn.o |
---|
91 | rrtmg_lw_read_nc.o: parkind.o rrlw_kg01.o rrlw_kg02.o rrlw_kg03.o rrlw_kg04.o rrlw_kg05.o rrlw_kg06.o rrlw_kg07.o rrlw_kg08.o rrlw_kg09.o rrlw_kg10.o rrlw_kg11.o rrlw_kg12.o rrlw_kg13.o rrlw_kg14.o rrlw_kg15.o rrlw_kg16.o |
---|
92 | rrtmg_lw_rtrnmr.o: parkind.o |
---|
93 | rrtmg_lw_taumol.o: parkind.o |
---|
94 | rrlw_kg01.o: parkind.o parrrtm.o |
---|
95 | rrlw_kg02.o: parkind.o parrrtm.o |
---|
96 | rrlw_kg03.o: parkind.o parrrtm.o |
---|
97 | rrlw_kg04.o: parkind.o parrrtm.o |
---|
98 | rrlw_kg05.o: parkind.o parrrtm.o |
---|
99 | rrlw_kg06.o: parkind.o parrrtm.o |
---|
100 | rrlw_kg07.o: parkind.o parrrtm.o |
---|
101 | rrlw_kg08.o: parkind.o parrrtm.o |
---|
102 | rrlw_kg09.o: parkind.o parrrtm.o |
---|
103 | rrlw_kg10.o: parkind.o parrrtm.o |
---|
104 | rrlw_kg11.o: parkind.o parrrtm.o |
---|
105 | rrlw_kg12.o: parkind.o parrrtm.o |
---|
106 | rrlw_kg13.o: parkind.o parrrtm.o |
---|
107 | rrlw_kg14.o: parkind.o parrrtm.o |
---|
108 | rrlw_kg15.o: parkind.o parrrtm.o |
---|
109 | rrlw_kg16.o: parkind.o parrrtm.o |
---|
110 | |
---|
111 | parrrsw.o: parkind.o |
---|
112 | rrtmg_sw_cldprop.o: parkind.o rrsw_cld.o rrsw_wvn.o rrsw_vsn.o |
---|
113 | rrtmg_sw_init.o: parkind.o rrsw_wvn.o rrtmg_sw_setcoef.o |
---|
114 | rrtmg_sw_rad.nomcica.o: parkind.o rrtmg_sw_spcvrt.o rrtmg_sw_cldprop.o |
---|
115 | rrtmg_sw_read_nc.o: parkind.o rrsw_kg16.o rrsw_kg17.o rrsw_kg18.o rrsw_kg19.o rrsw_kg20.o rrsw_kg21.o rrsw_kg22.o rrsw_kg23.o rrsw_kg24.o rrsw_kg25.o rrsw_kg26.o rrsw_kg27.o rrsw_kg28.o rrsw_kg29.o rrsw_ncpar.o |
---|
116 | rrtmg_sw_reftra.o: parkind.o rrsw_tbl.o rrsw_vsn.o |
---|
117 | rrtmg_sw_spcvrt.o: parkind.o parrrsw.o rrsw_tbl.o rrsw_vsn.o rrsw_wvn.o rrtmg_sw_reftra.o rrtmg_sw_taumol.o rrtmg_sw_vrtqdr.o |
---|
118 | rrtmg_sw_setcoef.o: parkind.o rrsw_ref.o |
---|
119 | rrtmg_sw_taumol.o: parkind.o rrsw_con.o rrsw_vsn.o rrsw_wvn.o rrsw_kg16.o rrsw_kg17.o rrsw_kg18.o rrsw_kg19.o rrsw_kg20.o rrsw_kg21.o rrsw_kg22.o rrsw_kg23.o rrsw_kg24.o rrsw_kg25.o rrsw_kg26.o rrsw_kg27.o rrsw_kg28.o rrsw_kg29.o |
---|
120 | rrtmg_sw_vrtqdr.o: parkind.o |
---|
121 | rrsw_aer.o: parkind.o parrrsw.o |
---|
122 | rrsw_cld.o: parkind.o |
---|
123 | rrsw_con.o: parkind.o |
---|
124 | rrsw_kg16.o: parkind.o parrrsw.o |
---|
125 | rrsw_kg17.o: parkind.o parrrsw.o |
---|
126 | rrsw_kg18.o: parkind.o parrrsw.o |
---|
127 | rrsw_kg19.o: parkind.o parrrsw.o |
---|
128 | rrsw_kg20.o: parkind.o parrrsw.o |
---|
129 | rrsw_kg21.o: parkind.o parrrsw.o |
---|
130 | rrsw_kg22.o: parkind.o parrrsw.o |
---|
131 | rrsw_kg23.o: parkind.o parrrsw.o |
---|
132 | rrsw_kg24.o: parkind.o parrrsw.o |
---|
133 | rrsw_kg25.o: parkind.o parrrsw.o |
---|
134 | rrsw_kg26.o: parkind.o parrrsw.o |
---|
135 | rrsw_kg27.o: parkind.o parrrsw.o |
---|
136 | rrsw_kg28.o: parkind.o parrrsw.o |
---|
137 | rrsw_kg29.o: parkind.o parrrsw.o |
---|
138 | rrsw_ncpar.o: parkind.o |
---|
139 | rrsw_ref.o: parkind.o |
---|
140 | rrsw_tbl.o: parkind.o |
---|
141 | rrsw_vsn.o: parkind.o parrrsw.o |
---|
142 | rrsw_wvn.o: parkind.o parrrsw.o |
---|