source: palm/trunk/LIB/rrtmg/Makefile @ 1585

Last change on this file since 1585 was 1585, checked in by maronga, 6 years ago

Added support for RRTMG radiation code

  • Property svn:keywords set to Id
File size: 5.4 KB
Line 
1#--------------------------------------------------------------------------------#
2# This file is part of PALM.
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-2015  Leibniz Universitaet Hannover
16#--------------------------------------------------------------------------------#
17#
18# WARNING: don't write filenames with extension .f90 in this header!!!!
19#
20# Current revisions:
21# ------------------
22# Initial revision
23#
24# Former revisions:
25# -----------------
26# $Id: Makefile 1585 2015-04-30 07:05:52Z maronga $
27#
28# Description:
29# ------------
30# Makefile for the RRTMG library used in PALM
31#------------------------------------------------------------------------------!
32
33PROG =  librrtmg
34
35SOURCES = rrsw_aer.f90 rrsw_kg18.f90 rrsw_kg23.f90 rrsw_kg28.f90 rrsw_vsn.f90  \
36          rrtmg_sw_reftra.f90 rrtmg_sw_vrtqdr.f90             \
37          rrsw_cld.f90 rrsw_kg19.f90 rrsw_kg24.f90    \
38          rrsw_kg29.f90 rrsw_wvn.f90 rrtmg_sw_setcoef.f90                      \
39          rrsw_con.f90 rrsw_kg20.f90 rrsw_kg25.f90     \
40          rrsw_ncpar.f90 rrtmg_sw_rad.nomcica.f90                 \
41          parkind.f90 rrsw_kg16.f90 rrsw_kg21.f90          \
42          rrsw_kg26.f90 rrsw_ref.f90 rrtmg_sw_cldprop.f90                      \
43          rrtmg_sw_spcvrt.f90 parrrsw.f90             \
44          rrsw_kg17.f90 rrsw_kg22.f90 rrsw_kg27.f90 rrsw_tbl.f90              \
45          rrtmg_sw_init.f90 rrtmg_sw_read_nc.f90 rrtmg_sw_taumol.f90 \
46        rrlw_cld.f90  rrlw_kg01.f90  rrlw_kg03.f90  rrlw_kg05.f90  rrlw_kg07.f90  \
47        rrlw_kg09.f90  rrlw_kg11.f90  rrlw_kg13.f90  rrlw_kg15.f90  rrlw_ncpar.f90   \
48        rrlw_tbl.f90  rrlw_wvn.f90 rrlw_con.f90  rrlw_kg02.f90  rrlw_kg04.f90  rrlw_kg06.f90   \
49        rrlw_kg08.f90  rrlw_kg10.f90  rrlw_kg12.f90  rrlw_kg14.f90  rrlw_kg16.f90  rrlw_ref.f90   \
50        rrlw_vsn.f90 rrtmg_lw_cldprmc.f90  rrtmg_lw_init.f90 \
51        rrtmg_lw_rad.nomcica.f90  rrtmg_lw_rtrn.f90    rrtmg_lw_rtrnmr.f90  \
52        rrtmg_lw_taumol.f90 rrtmg_lw_cldprop.f90   parrrtm.f90 \
53        rrtmg_lw_read_nc.f90 rrtmg_lw_rtrnmc.f90  rrtmg_lw_setcoef.f90
54
55
56OBJS=$(SOURCES:.f90=.o)
57
58CC = cc
59CFLAGS = -O
60
61F90 = 
62COPT = 
63F90FLAGS = 
64
65#to_be_replaced_by_include
66
67.SUFFIXES:
68.SUFFIXES: .o .f90
69
70
71all: $(PROG)
72
73# create static library
74$(PROG): $(OBJS)
75        $(F90) $(F90FLAGS) $(COPT) -o $(PROG).so -shared $(OBJS)
76
77clean:
78        rm -f $(PROG) $(OBJS) *.mod *.i *.lst *.so *.o  *.a
79
80.f90.o:
81        $(F90) $(F90FLAGS) $(COPT) -fpic -c $<
82
83
84
85parrrtm.o: parkind.o
86rrtmg_lw_init.o: parkind.o rrlw_wvn.o rrtmg_lw_setcoef.o rrtmg_lw_rtrnmr.o rrtmg_lw_taumol.o
87rrtmg_lw_rad.nomcica.o: parkind.o rrtmg_lw_cldprop.o rrtmg_lw_rtrn.o
88rrtmg_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
89rrtmg_lw_rtrnmr.o: parkind.o
90rrtmg_lw_taumol.o: parkind.o
91rrlw_kg01.o: parkind.o parrrtm.o
92rrlw_kg02.o: parkind.o parrrtm.o
93rrlw_kg03.o: parkind.o parrrtm.o
94rrlw_kg04.o: parkind.o parrrtm.o
95rrlw_kg05.o: parkind.o parrrtm.o
96rrlw_kg06.o: parkind.o parrrtm.o
97rrlw_kg07.o: parkind.o parrrtm.o
98rrlw_kg08.o: parkind.o parrrtm.o
99rrlw_kg09.o: parkind.o parrrtm.o
100rrlw_kg10.o: parkind.o parrrtm.o
101rrlw_kg11.o: parkind.o parrrtm.o
102rrlw_kg12.o: parkind.o parrrtm.o
103rrlw_kg13.o: parkind.o parrrtm.o
104rrlw_kg14.o: parkind.o parrrtm.o
105rrlw_kg15.o: parkind.o parrrtm.o
106rrlw_kg16.o: parkind.o parrrtm.o
107
108parrrsw.o: parkind.o
109rrtmg_sw_cldprop.o: parkind.o rrsw_cld.o rrsw_wvn.o rrsw_vsn.o
110rrtmg_sw_init.o: parkind.o rrsw_wvn.o rrtmg_sw_setcoef.o
111rrtmg_sw_rad.nomcica.o: parkind.o rrtmg_sw_spcvrt.o rrtmg_sw_cldprop.o
112rrtmg_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
113rrtmg_sw_reftra.o: parkind.o rrsw_tbl.o rrsw_vsn.o
114rrtmg_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
115rrtmg_sw_setcoef.o: parkind.o rrsw_ref.o
116rrtmg_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
117rrtmg_sw_vrtqdr.o: parkind.o
118rrsw_aer.o: parkind.o parrrsw.o
119rrsw_cld.o: parkind.o
120rrsw_con.o: parkind.o
121rrsw_kg16.o: parkind.o parrrsw.o
122rrsw_kg17.o: parkind.o parrrsw.o
123rrsw_kg18.o: parkind.o parrrsw.o
124rrsw_kg19.o: parkind.o parrrsw.o
125rrsw_kg20.o: parkind.o parrrsw.o
126rrsw_kg21.o: parkind.o parrrsw.o
127rrsw_kg22.o: parkind.o parrrsw.o
128rrsw_kg23.o: parkind.o parrrsw.o
129rrsw_kg24.o: parkind.o parrrsw.o
130rrsw_kg25.o: parkind.o parrrsw.o
131rrsw_kg26.o: parkind.o parrrsw.o
132rrsw_kg27.o: parkind.o parrrsw.o
133rrsw_kg28.o: parkind.o parrrsw.o
134rrsw_kg29.o: parkind.o parrrsw.o
135rrsw_ncpar.o: parkind.o
136rrsw_ref.o: parkind.o
137rrsw_tbl.o: parkind.o
138rrsw_vsn.o: parkind.o parrrsw.o
139rrsw_wvn.o: parkind.o parrrsw.o
Note: See TracBrowser for help on using the repository browser.