source: palm/trunk/UTIL/Makefile @ 22

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

compilation of utilities with mbuild, mrun_path replaced by PALM_BIN, no statistik-log

File size: 796 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 =
27COPT =
28F90FLAGS =
29LDFLAGS =
30
31.SUFFIXES: $(SUFFIXES) .f90
32
33
34all: $(PROG1) $(PROG2)
35
36$(PROG1): $(OBJS1)
37        $(F90) -o $(PROG1) $(OBJS1) $(LDFLAGS)
38
39$(PROG2): $(OBJS2)
40        $(F90) -o $(PROG2) $(OBJS2) $(LDFLAGS)
41
42.f90.o:
43        $(F90) $(F90FLAGS) $(COPT) -c $<
44
45
Note: See TracBrowser for help on using the repository browser.