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 | # Current revisions: |
---|
19 | # ----------------- |
---|
20 | # |
---|
21 | # |
---|
22 | # Former revisions: |
---|
23 | # ----------------- |
---|
24 | # $Id: Makefile_utilities 3499 2018-11-07 10:55:15Z knoop $ |
---|
25 | # Temporarily avoid compilation of post-processing tool for surface output |
---|
26 | # until a workaround for compiler-specific intrinsic functions is found. |
---|
27 | # |
---|
28 | # 3494 2018-11-06 14:51:27Z suehring |
---|
29 | # Added make directive for surface-output post-processing |
---|
30 | # |
---|
31 | # 3208 2018-08-27 13:10:50Z sward |
---|
32 | # Added make directive for agent_preprocessing tool |
---|
33 | # |
---|
34 | # 2718 2018-01-02 08:49:38Z maronga |
---|
35 | # Corrected "Former revisions" section |
---|
36 | # |
---|
37 | # 2696 2017-12-14 17:12:51Z kanani |
---|
38 | # Change in file header (GPL part) |
---|
39 | # |
---|
40 | # 2380 2017-09-01 08:33:46Z raasch |
---|
41 | # file renamed to Makefile_utilities |
---|
42 | # executables are created in current working directory |
---|
43 | # interpret_config removed |
---|
44 | # |
---|
45 | # 1046 2012-11-09 14:38:45Z maronga |
---|
46 | # code put under GPL (PALM 3.9) |
---|
47 | # |
---|
48 | # utility programs are created separately for each block in the configuration |
---|
49 | # file, |
---|
50 | # compare_palm_logs added |
---|
51 | # added PROG3 in 'all:' statement (line 39, bugfix) |
---|
52 | # |
---|
53 | # Initial revision somewhere in 2003/04 |
---|
54 | # |
---|
55 | # Description: |
---|
56 | # ------------ |
---|
57 | # Makefile for generating the utility programs required by mrun and palm |
---|
58 | #------------------------------------------------------------------------------# |
---|
59 | |
---|
60 | PROG1 = combine_plot_fields.x |
---|
61 | PROG2 = compare_palm_logs.x |
---|
62 | PROG3 = agent_preprocessing |
---|
63 | #PROG4 = surface_output_to_vtk |
---|
64 | |
---|
65 | OBJS1 = combine_plot_fields.o |
---|
66 | OBJS2 = compare_palm_logs.o |
---|
67 | OBJS3 = agent_preprocessing.o |
---|
68 | #OBJS4 = surface_output_to_vtk.o |
---|
69 | |
---|
70 | CC = cc |
---|
71 | CFLAGS = -O |
---|
72 | |
---|
73 | F90 = |
---|
74 | F90_SER = |
---|
75 | COPT = |
---|
76 | F90FLAGS = |
---|
77 | LDFLAGS = |
---|
78 | |
---|
79 | .SUFFIXES: $(SUFFIXES) .f90 |
---|
80 | |
---|
81 | |
---|
82 | all: $(PROG1) $(PROG2) $(PROG3) $(PROG4) |
---|
83 | |
---|
84 | $(PROG1): $(OBJS1) |
---|
85 | $(F90_SER) -o $(PROG1) $(OBJS1) $(LDFLAGS) |
---|
86 | |
---|
87 | $(PROG2): $(OBJS2) |
---|
88 | $(F90_SER) -o $(PROG2) $(OBJS2) $(LDFLAGS) |
---|
89 | |
---|
90 | $(PROG3): $(OBJS3) |
---|
91 | $(F90_SER) -o $(PROG3) $(OBJS3) $(LDFLAGS) |
---|
92 | |
---|
93 | #$(PROG4): $(OBJS4) |
---|
94 | # $(F90_SER) -o $(PROG4) $(OBJS4) $(LDFLAGS) |
---|
95 | |
---|
96 | .f90.o: |
---|
97 | $(F90_SER) $(F90FLAGS) $(COPT) -c $< |
---|
98 | |
---|
99 | |
---|