source: palm/tags/release-3.3/UTIL/Makefile @ 677

Last change on this file since 677 was 27, checked in by raasch, 18 years ago

Bugfixes in mrun and mbuild

File size: 818 bytes
Line 
1#------------------------------------------------------------------------------!
2#
3# Actual revisions:
4# -----------------
5# Initial revision
6#
7#
8# Former revisions:
9# -----------------
10# $Id $
11#
12# Description:
13# ------------
14# Makefile for generating the utility programs needed by mrun and palm
15#------------------------------------------------------------------------------!
16
17PROG1 =  ../SCRIPTS/combine_plot_fields.x
18PROG2 =  ../SCRIPTS/interpret_config.x
19
20OBJS1 =  combine_plot_fields.o
21OBJS2 =  interpret_config.o
22
23CC = cc
24CFLAGS = -O
25
26F90 =
27F90_SER =
28COPT =
29F90FLAGS =
30LDFLAGS =
31
32.SUFFIXES: $(SUFFIXES) .f90
33
34
35all: $(PROG1) $(PROG2)
36
37$(PROG1): $(OBJS1)
38        $(F90_SER) -o $(PROG1) $(OBJS1) $(LDFLAGS)
39
40$(PROG2): $(OBJS2)
41        $(F90_SER) -o $(PROG2) $(OBJS2) $(LDFLAGS)
42
43.f90.o:
44        $(F90_SER) $(F90FLAGS) $(COPT) -c $<
45
46
Note: See TracBrowser for help on using the repository browser.