source: palm/trunk/UTIL/Makefile @ 849

Last change on this file since 849 was 503, checked in by raasch, 15 years ago

New:
---

Changed:


combine_plot_fields is now directly called within mrun and must not be given
by an output command in the configuration file any more.

Utility programs (combine_plot_fields, interpret_config) are created by mbuild
separately for each block in the configuration file. Depending on option -K,
mrun is using the utility programs for the respective block.
Parallel make for utility programs.

Default configuration files updated.

mbuild, mrun, UTIL/Makefile

Errors:


  • Property svn:keywords set to Id
File size: 1.1 KB
Line 
1#------------------------------------------------------------------------------!
2#
3# Actual revisions:
4# -----------------
5# utility programs are created separately for each block in the configuration
6# file,
7# compare_palm_logs added
8# added PROG3 in 'all:' statement (line 39, bugfix)
9#
10# Former revisions:
11# -----------------
12# $Id: Makefile 503 2010-03-03 00:27:06Z raasch $
13#
14# Initial revision somewhere in 2003/04
15#
16# Description:
17# ------------
18# Makefile for generating the utility programs needed by mrun and palm
19#------------------------------------------------------------------------------!
20
21PROG1 =  ../SCRIPTS/combine_plot_fields$(BLOCK).x
22PROG2 =  ../SCRIPTS/compare_palm_logs$(BLOCK).x
23PROG3 =  ../SCRIPTS/interpret_config$(BLOCK).x
24
25OBJS1 =  combine_plot_fields.o
26OBJS2 =  compare_palm_logs.o
27OBJS3 =  interpret_config.o
28
29CC = cc
30CFLAGS = -O
31
32F90 =
33F90_SER =
34COPT =
35F90FLAGS =
36LDFLAGS =
37
38.SUFFIXES: $(SUFFIXES) .f90
39
40
41all: $(PROG1) $(PROG2) $(PROG3)
42
43$(PROG1): $(OBJS1)
44        $(F90_SER) -o $(PROG1) $(OBJS1) $(LDFLAGS)
45
46$(PROG2): $(OBJS2)
47        $(F90_SER) -o $(PROG2) $(OBJS2) $(LDFLAGS)
48
49$(PROG3): $(OBJS3)
50        $(F90_SER) -o $(PROG3) $(OBJS3) $(LDFLAGS)
51
52.f90.o:
53        $(F90_SER) $(F90FLAGS) $(COPT) -c $<
54
55
Note: See TracBrowser for help on using the repository browser.