[2696] | 1 | #------------------------------------------------------------------------------# |
---|
| 2 | # This file is part of the PALM model system. |
---|
[22] | 3 | # |
---|
[1046] | 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 | # |
---|
[2718] | 15 | # Copyright 1997-2018 Leibniz Universitaet Hannover |
---|
[2696] | 16 | #------------------------------------------------------------------------------# |
---|
[1046] | 17 | # |
---|
| 18 | # Current revisions: |
---|
[22] | 19 | # ----------------- |
---|
[2410] | 20 | # |
---|
| 21 | # |
---|
| 22 | # Former revisions: |
---|
| 23 | # ----------------- |
---|
| 24 | # $Id: Makefile_utilities 3208 2018-08-27 13:10:50Z eckhard $ |
---|
[3208] | 25 | # Added make directive for agent_preprocessing tool |
---|
| 26 | # |
---|
| 27 | # 2718 2018-01-02 08:49:38Z maronga |
---|
[2716] | 28 | # Corrected "Former revisions" section |
---|
| 29 | # |
---|
| 30 | # 2696 2017-12-14 17:12:51Z kanani |
---|
| 31 | # Change in file header (GPL part) |
---|
| 32 | # |
---|
| 33 | # 2380 2017-09-01 08:33:46Z raasch |
---|
[2380] | 34 | # file renamed to Makefile_utilities |
---|
| 35 | # executables are created in current working directory |
---|
| 36 | # interpret_config removed |
---|
[1047] | 37 | # |
---|
| 38 | # 1046 2012-11-09 14:38:45Z maronga |
---|
[1046] | 39 | # code put under GPL (PALM 3.9) |
---|
| 40 | # |
---|
[503] | 41 | # utility programs are created separately for each block in the configuration |
---|
| 42 | # file, |
---|
[480] | 43 | # compare_palm_logs added |
---|
[492] | 44 | # added PROG3 in 'all:' statement (line 39, bugfix) |
---|
[22] | 45 | # |
---|
[480] | 46 | # Initial revision somewhere in 2003/04 |
---|
| 47 | # |
---|
[22] | 48 | # Description: |
---|
| 49 | # ------------ |
---|
[2380] | 50 | # Makefile for generating the utility programs required by mrun and palm |
---|
[2696] | 51 | #------------------------------------------------------------------------------# |
---|
[22] | 52 | |
---|
[2380] | 53 | PROG1 = combine_plot_fields.x |
---|
| 54 | PROG2 = compare_palm_logs.x |
---|
[3208] | 55 | PROG3 = agent_preprocessing |
---|
[22] | 56 | |
---|
| 57 | OBJS1 = combine_plot_fields.o |
---|
[480] | 58 | OBJS2 = compare_palm_logs.o |
---|
[3208] | 59 | OBJS3 = agent_preprocessing.o |
---|
[22] | 60 | |
---|
| 61 | CC = cc |
---|
| 62 | CFLAGS = -O |
---|
| 63 | |
---|
| 64 | F90 = |
---|
[27] | 65 | F90_SER = |
---|
[22] | 66 | COPT = |
---|
| 67 | F90FLAGS = |
---|
| 68 | LDFLAGS = |
---|
| 69 | |
---|
| 70 | .SUFFIXES: $(SUFFIXES) .f90 |
---|
| 71 | |
---|
| 72 | |
---|
[492] | 73 | all: $(PROG1) $(PROG2) $(PROG3) |
---|
[22] | 74 | |
---|
| 75 | $(PROG1): $(OBJS1) |
---|
[27] | 76 | $(F90_SER) -o $(PROG1) $(OBJS1) $(LDFLAGS) |
---|
[22] | 77 | |
---|
| 78 | $(PROG2): $(OBJS2) |
---|
[27] | 79 | $(F90_SER) -o $(PROG2) $(OBJS2) $(LDFLAGS) |
---|
[22] | 80 | |
---|
[480] | 81 | $(PROG3): $(OBJS3) |
---|
| 82 | $(F90_SER) -o $(PROG3) $(OBJS3) $(LDFLAGS) |
---|
| 83 | |
---|
[22] | 84 | .f90.o: |
---|
[27] | 85 | $(F90_SER) $(F90FLAGS) $(COPT) -c $< |
---|
[22] | 86 | |
---|
| 87 | |
---|