source: palm/trunk/UTIL/Makefile @ 1028

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