source: palm/trunk/UTIL/Makefile @ 480

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

compare_palm_logs is now part of compiled utilities; slight change of using compare_palm_logs

File size: 999 bytes
RevLine 
[22]1#------------------------------------------------------------------------------!
2#
3# Actual revisions:
4# -----------------
[480]5# compare_palm_logs added
[22]6#
7#
8# Former revisions:
9# -----------------
[480]10# $Id$
[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
39all: $(PROG1) $(PROG2)
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.