source: palm/trunk/UTIL/Makefile_utilities @ 3494

Last change on this file since 3494 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
RevLine 
[2696]1#------------------------------------------------------------------------------#
2# This file is part of the PALM model system.
[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#
[2718]15# Copyright 1997-2018  Leibniz Universitaet Hannover
[2696]16#------------------------------------------------------------------------------#
[1046]17#
18# Current revisions:
[22]19# -----------------
[2410]20#
21#
22# Former revisions:
23# -----------------
24# $Id: Makefile_utilities 3494 2018-11-06 14:51:27Z suehring $
[3494]25# Added make directive for surface-output post-processing
26#
27# 3208 2018-08-27 13:10:50Z sward
[3208]28# Added make directive for agent_preprocessing tool
29#
30# 2718 2018-01-02 08:49:38Z maronga
[2716]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
[2380]37# file renamed to Makefile_utilities
38# executables are created in current working directory
39# interpret_config removed
[1047]40#
41# 1046 2012-11-09 14:38:45Z maronga
[1046]42# code put under GPL (PALM 3.9)
43#
[503]44# utility programs are created separately for each block in the configuration
45# file,
[480]46# compare_palm_logs added
[492]47# added PROG3 in 'all:' statement (line 39, bugfix)
[22]48#
[480]49# Initial revision somewhere in 2003/04
50#
[22]51# Description:
52# ------------
[2380]53# Makefile for generating the utility programs required by mrun and palm
[2696]54#------------------------------------------------------------------------------#
[22]55
[2380]56PROG1 =  combine_plot_fields.x
57PROG2 =  compare_palm_logs.x
[3208]58PROG3 =  agent_preprocessing
[3494]59PROG4 =  surface_output_to_vtk
[22]60
61OBJS1 =  combine_plot_fields.o
[480]62OBJS2 =  compare_palm_logs.o
[3208]63OBJS3 =  agent_preprocessing.o
[3494]64OBJS4 =  surface_output_to_vtk.o
[22]65
66CC = cc
67CFLAGS = -O
68
69F90 =
[27]70F90_SER =
[22]71COPT =
72F90FLAGS =
73LDFLAGS =
74
75.SUFFIXES: $(SUFFIXES) .f90
76
77
[3494]78all: $(PROG1) $(PROG2) $(PROG3) $(PROG4)
[22]79
80$(PROG1): $(OBJS1)
[27]81        $(F90_SER) -o $(PROG1) $(OBJS1) $(LDFLAGS)
[22]82
83$(PROG2): $(OBJS2)
[27]84        $(F90_SER) -o $(PROG2) $(OBJS2) $(LDFLAGS)
[22]85
[480]86$(PROG3): $(OBJS3)
87        $(F90_SER) -o $(PROG3) $(OBJS3) $(LDFLAGS)
88
[3494]89$(PROG4): $(OBJS4)
90        $(F90_SER) -o $(PROG4) $(OBJS4) $(LDFLAGS)
91
[22]92.f90.o:
[27]93        $(F90_SER) $(F90FLAGS) $(COPT) -c $<
[22]94
95
Note: See TracBrowser for help on using the repository browser.