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

Last change on this file since 4358 was 2718, checked in by maronga, 7 years ago

deleting of deprecated files; headers updated where needed

  • Property svn:keywords set to Id
File size: 5.5 KB
Line 
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-2018  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 2718 2018-01-02 08:49:38Z suehring $
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
36PROG =  librrtmg
37
38SOURCES = 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
59OBJS=$(SOURCES:.f90=.o)
60
61CC = cc
62CFLAGS = -O
63
64F90 = 
65COPT = 
66F90FLAGS = 
67
68#to_be_replaced_by_include
69
70.SUFFIXES:
71.SUFFIXES: .o .f90
72
73
74all: $(PROG)
75
76# create static library
77$(PROG): $(OBJS)
78        $(F90) $(F90FLAGS) $(COPT) -o $(PROG).so -shared $(OBJS)
79
80clean:
81        rm -f $(PROG) $(OBJS) *.mod *.i *.lst *.so *.o  *.a
82
83.f90.o:
84        $(F90) $(F90FLAGS) $(COPT) -fpic -c $<
85
86
87
88parrrtm.o: parkind.o
89rrtmg_lw_init.o: parkind.o rrlw_wvn.o rrtmg_lw_setcoef.o rrtmg_lw_rtrnmr.o rrtmg_lw_taumol.o
90rrtmg_lw_rad.nomcica.o: parkind.o rrtmg_lw_cldprop.o rrtmg_lw_rtrn.o
91rrtmg_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
92rrtmg_lw_rtrnmr.o: parkind.o
93rrtmg_lw_taumol.o: parkind.o
94rrlw_kg01.o: parkind.o parrrtm.o
95rrlw_kg02.o: parkind.o parrrtm.o
96rrlw_kg03.o: parkind.o parrrtm.o
97rrlw_kg04.o: parkind.o parrrtm.o
98rrlw_kg05.o: parkind.o parrrtm.o
99rrlw_kg06.o: parkind.o parrrtm.o
100rrlw_kg07.o: parkind.o parrrtm.o
101rrlw_kg08.o: parkind.o parrrtm.o
102rrlw_kg09.o: parkind.o parrrtm.o
103rrlw_kg10.o: parkind.o parrrtm.o
104rrlw_kg11.o: parkind.o parrrtm.o
105rrlw_kg12.o: parkind.o parrrtm.o
106rrlw_kg13.o: parkind.o parrrtm.o
107rrlw_kg14.o: parkind.o parrrtm.o
108rrlw_kg15.o: parkind.o parrrtm.o
109rrlw_kg16.o: parkind.o parrrtm.o
110
111parrrsw.o: parkind.o
112rrtmg_sw_cldprop.o: parkind.o rrsw_cld.o rrsw_wvn.o rrsw_vsn.o
113rrtmg_sw_init.o: parkind.o rrsw_wvn.o rrtmg_sw_setcoef.o
114rrtmg_sw_rad.nomcica.o: parkind.o rrtmg_sw_spcvrt.o rrtmg_sw_cldprop.o
115rrtmg_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
116rrtmg_sw_reftra.o: parkind.o rrsw_tbl.o rrsw_vsn.o
117rrtmg_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
118rrtmg_sw_setcoef.o: parkind.o rrsw_ref.o
119rrtmg_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
120rrtmg_sw_vrtqdr.o: parkind.o
121rrsw_aer.o: parkind.o parrrsw.o
122rrsw_cld.o: parkind.o
123rrsw_con.o: parkind.o
124rrsw_kg16.o: parkind.o parrrsw.o
125rrsw_kg17.o: parkind.o parrrsw.o
126rrsw_kg18.o: parkind.o parrrsw.o
127rrsw_kg19.o: parkind.o parrrsw.o
128rrsw_kg20.o: parkind.o parrrsw.o
129rrsw_kg21.o: parkind.o parrrsw.o
130rrsw_kg22.o: parkind.o parrrsw.o
131rrsw_kg23.o: parkind.o parrrsw.o
132rrsw_kg24.o: parkind.o parrrsw.o
133rrsw_kg25.o: parkind.o parrrsw.o
134rrsw_kg26.o: parkind.o parrrsw.o
135rrsw_kg27.o: parkind.o parrrsw.o
136rrsw_kg28.o: parkind.o parrrsw.o
137rrsw_kg29.o: parkind.o parrrsw.o
138rrsw_ncpar.o: parkind.o
139rrsw_ref.o: parkind.o
140rrsw_tbl.o: parkind.o
141rrsw_vsn.o: parkind.o parrrsw.o
142rrsw_wvn.o: parkind.o parrrsw.o
Note: See TracBrowser for help on using the repository browser.