source: palm/trunk/UTIL/Makefile @ 496

Last change on this file since 496 was 494, checked in by raasch, 15 years ago

last commit documented; configuration example file for netcdf4 added

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