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