source: palm/trunk/UTIL/Makefile_utilities @ 3250

Last change on this file since 3250 was 3208, checked in by sward, 6 years ago

Renamed nav_mesh to agent_preprocessing and added it to palmbuild

  • Property svn:keywords set to Id
File size: 2.3 KB
Line 
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 3208 2018-08-27 13:10:50Z sward $
25# Added make directive for agent_preprocessing tool
26#
27# 2718 2018-01-02 08:49:38Z maronga
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
34# file renamed to Makefile_utilities
35# executables are created in current working directory
36# interpret_config removed
37#
38# 1046 2012-11-09 14:38:45Z maronga
39# code put under GPL (PALM 3.9)
40#
41# utility programs are created separately for each block in the configuration
42# file,
43# compare_palm_logs added
44# added PROG3 in 'all:' statement (line 39, bugfix)
45#
46# Initial revision somewhere in 2003/04
47#
48# Description:
49# ------------
50# Makefile for generating the utility programs required by mrun and palm
51#------------------------------------------------------------------------------#
52
53PROG1 =  combine_plot_fields.x
54PROG2 =  compare_palm_logs.x
55PROG3 =  agent_preprocessing
56
57OBJS1 =  combine_plot_fields.o
58OBJS2 =  compare_palm_logs.o
59OBJS3 =  agent_preprocessing.o
60
61CC = cc
62CFLAGS = -O
63
64F90 =
65F90_SER =
66COPT =
67F90FLAGS =
68LDFLAGS =
69
70.SUFFIXES: $(SUFFIXES) .f90
71
72
73all: $(PROG1) $(PROG2) $(PROG3)
74
75$(PROG1): $(OBJS1)
76        $(F90_SER) -o $(PROG1) $(OBJS1) $(LDFLAGS)
77
78$(PROG2): $(OBJS2)
79        $(F90_SER) -o $(PROG2) $(OBJS2) $(LDFLAGS)
80
81$(PROG3): $(OBJS3)
82        $(F90_SER) -o $(PROG3) $(OBJS3) $(LDFLAGS)
83
84.f90.o:
85        $(F90_SER) $(F90FLAGS) $(COPT) -c $<
86
87
Note: See TracBrowser for help on using the repository browser.