source: palm/trunk/UTIL/Makefile @ 497

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