source: palm/trunk/UTIL/Makefile_utilities @ 3496

Last change on this file since 3496 was 3494, checked in by suehring, 6 years ago

Surface output revised and some bugs are fixed + new post-processing tool to convert binary surface output to Paraview readable VTK files

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