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-2014 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_check 1360 2014-04-11 17:20:32Z fricke $ |
---|
27 | # |
---|
28 | # 1359 2014-04-11 17:15:14Z hoffmann |
---|
29 | # mod_particle_attributes added |
---|
30 | # |
---|
31 | # 1320 2014-03-20 08:40:49Z raasch |
---|
32 | # cpu_log renamed cpulog, + mod_kinds in dependency list |
---|
33 | # |
---|
34 | # 1216 2013-08-26 09:31:42Z raasch |
---|
35 | # +tridia_solver |
---|
36 | # |
---|
37 | # 1212 2013-08-15 08:46:27Z raasch |
---|
38 | # object file list replaced by one line statement, |
---|
39 | # -poisfft_hybrid |
---|
40 | # |
---|
41 | # 1111 2013-03-08 23:54:10Z raasch |
---|
42 | # dependencies removed from init_pegrid |
---|
43 | # |
---|
44 | # 1106 2013-03-04 05:31:38Z raasch |
---|
45 | # +cuda_fft_interfaces |
---|
46 | # |
---|
47 | # 1036 2012-10-22 13:43:42Z raasch |
---|
48 | # code put under GPL (PALM 3.9) |
---|
49 | # |
---|
50 | # 870 2012-03-29 14:45:38Z franke |
---|
51 | # user_advec_particles renamed user_lpm_advec, |
---|
52 | # user_init_particles renamed user_lpm_init, |
---|
53 | # user_particle_attributes renamed user_lpm_set_attributes |
---|
54 | # |
---|
55 | # 845 2012-03-07 10:23:05Z maronga |
---|
56 | # Added init_cloud_physics |
---|
57 | # |
---|
58 | # 841 2012-02-28 12:29:49Z maronga |
---|
59 | # Added: exchange_horiz, exchange_horiz_2d, random_function |
---|
60 | # |
---|
61 | # 818 2012-02-08 16:11:23Z maronga |
---|
62 | # Added all user routines. |
---|
63 | # |
---|
64 | # 807 2012-01-25 11:53:51Z maronga |
---|
65 | # Initial revision |
---|
66 | # |
---|
67 | # Description: |
---|
68 | # ------------ |
---|
69 | # Makefile for the parameter file check program check_namelist_files to be used |
---|
70 | # by the shell script "mrun" |
---|
71 | #------------------------------------------------------------------------------! |
---|
72 | |
---|
73 | |
---|
74 | PROG = check_namelist_files.x |
---|
75 | |
---|
76 | SOURCES = check_open.f90 check_namelist_files.f90 check_parameters.f90 \ |
---|
77 | close_file.f90 cpulog.f90 cuda_fft_interfaces.f90 exchange_horiz.f90 \ |
---|
78 | exchange_horiz_2d.f90 fft_xy.f90 init_grid.f90 init_masks.f90 \ |
---|
79 | init_cloud_physics.f90 init_pegrid.f90 local_flush.f90 local_stop.f90 \ |
---|
80 | local_system.f90 message.f90 modules.f90 mod_kinds.f90 \ |
---|
81 | mod_particle_attributes.f90 package_parin.f90 \ |
---|
82 | parin.f90 poisfft.f90 random_function.f90 singleton.f90 \ |
---|
83 | subsidence.f90 temperton_fft.f90 tridia_solver.f90 \ |
---|
84 | user_3d_data_averaging.f90 user_actions.f90 \ |
---|
85 | user_additional_routines.f90 user_check_data_output.f90 \ |
---|
86 | user_check_data_output_pr.f90 user_check_parameters.f90 \ |
---|
87 | user_data_output_2d.f90 user_data_output_3d.f90 \ |
---|
88 | user_data_output_dvrp.f90 user_data_output_mask.f90 \ |
---|
89 | user_define_netcdf_grid.f90 user_dvrp_coltab.f90 user_header.f90 \ |
---|
90 | user_init.f90 user_init_3d_model.f90 user_init_grid.f90 \ |
---|
91 | user_init_plant_canopy.f90 user_last_actions.f90 user_lpm_advec.f90 \ |
---|
92 | user_lpm_init.f90 user_lpm_set_attributes.f90 user_module.f90 \ |
---|
93 | user_parin.f90 user_read_restart_data.f90 user_spectra.f90 \ |
---|
94 | user_statistics.f90 |
---|
95 | |
---|
96 | OBJS=$(SOURCES:.f90=.o) |
---|
97 | |
---|
98 | CC = cc |
---|
99 | CFLAGS = -O |
---|
100 | |
---|
101 | F90 = |
---|
102 | COPT = |
---|
103 | F90FLAGS = |
---|
104 | LDFLAGS = |
---|
105 | |
---|
106 | #to_be_replaced_by_include |
---|
107 | |
---|
108 | .SUFFIXES: |
---|
109 | .SUFFIXES: .o .f90 |
---|
110 | |
---|
111 | |
---|
112 | all: $(PROG) |
---|
113 | |
---|
114 | $(PROG): $(OBJS) |
---|
115 | $(F90) -o $(PROG) $(OBJS) $(LDFLAGS) |
---|
116 | |
---|
117 | clean: |
---|
118 | rm -f $(PROG) $(OBJS) *.mod *.i *.lst |
---|
119 | |
---|
120 | .f90.o: |
---|
121 | $(F90) $(F90FLAGS) $(COPT) -c $< |
---|
122 | |
---|
123 | |
---|
124 | check_open.o: modules.o mod_kinds.o |
---|
125 | check_namelist_files.o: modules.o mod_kinds.o |
---|
126 | check_parameters.o: modules.o mod_kinds.o subsidence.o |
---|
127 | close_file.o: modules.o mod_kinds.o |
---|
128 | cpulog.o: modules.o mod_kinds.o |
---|
129 | cuda_fft_interfaces.o: cuda_fft_interfaces.f90 modules.o mod_kinds.o |
---|
130 | exchange_horiz.o: modules.o cpulog.o mod_kinds.o |
---|
131 | exchange_horiz_2d.o: modules.o cpulog.o mod_kinds.o |
---|
132 | fft_xy.o: cuda_fft_interfaces.o modules.o mod_kinds.o singleton.o temperton_fft.o |
---|
133 | init_cloud_physics.o: modules.o mod_kinds.o |
---|
134 | init_grid.o: modules.o mod_kinds.o |
---|
135 | init_masks.o: modules.o mod_kinds.o |
---|
136 | init_pegrid.o: modules.o mod_kinds.o |
---|
137 | local_flush.o: mod_kinds.o |
---|
138 | local_stop.o: modules.o mod_kinds.o |
---|
139 | message.o: modules.o mod_kinds.o |
---|
140 | modules.o: modules.f90 mod_kinds.o |
---|
141 | mod_kinds.o: mod_kinds.f90 |
---|
142 | package_parin.o: modules.o mod_kinds.o |
---|
143 | parin.o: modules.o cpulog.o mod_kinds.o |
---|
144 | poisfft.o: cpulog.o modules.o mod_kinds.o fft_xy.o tridia_solver.o |
---|
145 | singleton.o: mod_kinds.o singleton.f90 |
---|
146 | subsidence.o: modules.o mod_kinds.o |
---|
147 | temperton_fft.o: modules.o mod_kinds.o |
---|
148 | tridia_solver.o: modules.o mod_kinds.o |
---|
149 | user_3d_data_averaging.o: modules.o mod_kinds.o user_module.o |
---|
150 | user_actions.o: cpulog.o modules.o mod_kinds.o user_module.o |
---|
151 | user_additional_routines.o: modules.o mod_kinds.o user_module.o |
---|
152 | user_check_data_output.o: modules.o mod_kinds.o user_module.o |
---|
153 | user_check_data_output_pr.o: modules.o mod_kinds.o user_module.o |
---|
154 | user_check_parameters.o: modules.o mod_kinds.o user_module.o |
---|
155 | user_data_output_2d.o: modules.o mod_kinds.o user_module.o |
---|
156 | user_data_output_3d.o: modules.o mod_kinds.o user_module.o |
---|
157 | user_data_output_mask.o: modules.o mod_kinds.o user_module.o |
---|
158 | user_data_output_dvrp.o: modules.o mod_kinds.o user_module.o |
---|
159 | user_define_netcdf_grid.o: modules.o mod_kinds.o user_module.o |
---|
160 | user_dvrp_coltab.o: modules.o mod_kinds.o user_module.o |
---|
161 | user_header.o: modules.o mod_kinds.o user_module.o |
---|
162 | user_init.o: modules.o mod_kinds.o user_module.o |
---|
163 | user_init_3d_model.o: modules.o mod_kinds.o user_module.o |
---|
164 | user_init_grid.o: modules.o mod_kinds.o user_module.o |
---|
165 | user_init_plant_canopy.o: modules.o mod_kinds.o user_module.o |
---|
166 | user_last_actions.o: modules.o mod_kinds.o user_module.o |
---|
167 | user_lpm_advec.o: modules.o mod_kinds.o mod_particle_attributes.o user_module.o |
---|
168 | user_lpm_init.o: modules.o mod_kinds.o mod_particle_attributes.o user_module.o |
---|
169 | user_lpm_set_attributes.o: modules.o mod_kinds.o mod_particle_attributes.o \ |
---|
170 | user_module.o |
---|
171 | user_module.o: mod_kinds.o user_module.f90 |
---|
172 | user_parin.o: modules.o mod_kinds.o user_module.o |
---|
173 | user_read_restart_data.o: modules.o mod_kinds.o user_module.o |
---|
174 | user_spectra.o: modules.o mod_kinds.o user_module.o |
---|
175 | user_statistics.o: modules.o mod_kinds.o user_module.o |
---|