#------------------------------------------------------------------------------# # This file is part of the PALM model system. # # PALM is free software: you can redistribute it and/or modify it under the terms # of the GNU General Public License as published by the Free Software Foundation, # either version 3 of the License, or (at your option) any later version. # # PALM is distributed in the hope that it will be useful, but WITHOUT ANY # WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR # A PARTICULAR PURPOSE. See the GNU General Public License for more details. # # You should have received a copy of the GNU General Public License along with # PALM. If not, see . # # Copyright 1997-2018 Leibniz Universitaet Hannover #------------------------------------------------------------------------------# # # Current revisions: # ----------------- # # # Former revisions: # ----------------- # $Id: Makefile_utilities 3795 2019-03-15 09:40:05Z monakurppa $ # Upated inifor build dependencies # # 3793 2019-03-15 08:31:37Z raasch # bugfix for suffix setting # # 3757 2019-02-20 11:40:34Z suehring # Disable build of surface-output processing tool # # 3534 2018-11-19 15:35:16Z raasch # inifor build added # # 3523 2018-11-13 16:09:31Z suehring # Enable compilation of post-processing tool for surface output - interface # for posix conform sytemcalls is implemented. # # 3499 2018-11-07 10:55:15Z suehring # Temporarily avoid compilation of post-processing tool for surface output # until a workaround for compiler-specific intrinsic functions is found. # # 3494 2018-11-06 14:51:27Z suehring # Added make directive for surface-output post-processing # # 3208 2018-08-27 13:10:50Z sward # Added make directive for agent_preprocessing tool # # 2718 2018-01-02 08:49:38Z maronga # Corrected "Former revisions" section # # 2696 2017-12-14 17:12:51Z kanani # Change in file header (GPL part) # # 2380 2017-09-01 08:33:46Z raasch # file renamed to Makefile_utilities # executables are created in current working directory # interpret_config removed # # 1046 2012-11-09 14:38:45Z maronga # code put under GPL (PALM 3.9) # # utility programs are created separately for each block in the configuration # file, # compare_palm_logs added # added PROG3 in 'all:' statement (line 39, bugfix) # # Initial revision somewhere in 2003/04 # # Description: # ------------ # Makefile for generating the utility programs required by mrun and palm #------------------------------------------------------------------------------# PROG1 = combine_plot_fields.x PROG2 = compare_palm_logs.x PROG3 = agent_preprocessing #PROG4 = surface_output_to_vtk PROG5 = inifor SOURCES5 = \ inifor.f90 \ inifor_control.f90 \ inifor_defs.f90 \ inifor_grid.f90 \ inifor_io.f90 \ inifor_transform.f90 \ inifor_types.f90 \ inifor_util.f90 OBJS1 = combine_plot_fields.o OBJS2 = compare_palm_logs.o OBJS3 = agent_preprocessing.o #OBJS4 = surface_output_to_vtk.o OBJS5=$(SOURCES5:.f90=.o) CC = cc CFLAGS = -O F90 = F90_SER = COPT = F90FLAGS = LDFLAGS = .SUFFIXES: .SUFFIXES: .o .f90 all: $(PROG1) $(PROG2) $(PROG3) $(PROG4) $(PROG5) $(PROG1): $(OBJS1) $(F90_SER) -o $(PROG1) $(OBJS1) $(LDFLAGS) $(PROG2): $(OBJS2) $(F90_SER) -o $(PROG2) $(OBJS2) $(LDFLAGS) $(PROG3): $(OBJS3) $(F90_SER) -o $(PROG3) $(OBJS3) $(LDFLAGS) $(PROG4): $(OBJS4) $(F90_SER) -o $(PROG4) $(OBJS4) $(LDFLAGS) $(PROG5): $(OBJS5) $(F90_SER) -o $(PROG5) $(OBJS5) $(LDFLAGS) .f90.o: $(F90_SER) $(F90FLAGS) $(COPT) -c $< inifor.o: \ inifor_control.o \ inifor_defs.o \ inifor_grid.o \ inifor_io.o \ inifor_transform.o \ inifor_types.o inifor_control.o: \ inifor_defs.o \ inifor_util.o inifor_grid.o: \ inifor_control.o \ inifor_defs.o \ inifor_io.o \ inifor_transform.o \ inifor_types.o \ inifor_util.o inifor_io.o: \ inifor_control.o \ inifor_defs.o \ inifor_types.o \ inifor_util.o inifor_transform.o: \ inifor_control.o \ inifor_defs.o \ inifor_types.o \ inifor_util.o inifor_types.o: \ inifor_defs.o inifor_util.o: \ inifor_defs.o \ inifor_types.o