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