source: palm/tags/release-4.0/UTIL/Makefile @ 4239

Last change on this file since 4239 was 1310, checked in by raasch, 11 years ago

update of GPL copyright

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