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