#------------------------------------------------------------------------------! # # Actual revisions: # ----------------- # utility programs are created separately for each block in the configuration # file, # compare_palm_logs added # added PROG3 in 'all:' statement (line 39, bugfix) # # Former revisions: # ----------------- # $Id: Makefile 503 2010-03-03 00:27:06Z weinreis $ # # Initial revision somewhere in 2003/04 # # Description: # ------------ # Makefile for generating the utility programs needed by mrun and palm #------------------------------------------------------------------------------! PROG1 = ../SCRIPTS/combine_plot_fields$(BLOCK).x PROG2 = ../SCRIPTS/compare_palm_logs$(BLOCK).x PROG3 = ../SCRIPTS/interpret_config$(BLOCK).x OBJS1 = combine_plot_fields.o OBJS2 = compare_palm_logs.o OBJS3 = interpret_config.o CC = cc CFLAGS = -O F90 = F90_SER = COPT = F90FLAGS = LDFLAGS = .SUFFIXES: $(SUFFIXES) .f90 all: $(PROG1) $(PROG2) $(PROG3) $(PROG1): $(OBJS1) $(F90_SER) -o $(PROG1) $(OBJS1) $(LDFLAGS) $(PROG2): $(OBJS2) $(F90_SER) -o $(PROG2) $(OBJS2) $(LDFLAGS) $(PROG3): $(OBJS3) $(F90_SER) -o $(PROG3) $(OBJS3) $(LDFLAGS) .f90.o: $(F90_SER) $(F90FLAGS) $(COPT) -c $<