#
# This makefile compiles and loads the DDASKR example program sweb.
# If necessary, change the constants COMP and FFLAGS below for the
# compiler to be used.

COMP = f77
FFLAGS = -O

SOLVR = ../solver

PRECON = ../preconds

OBJS = $(SOLVR)/sdaskr.o $(SOLVR)/saux.o $(SOLVR)/slinpk.o \
       $(PRECON)/srbdpre.o $(PRECON)/srbgpre.o 

WEB = sweb.o $(OBJS)

WEB : $(WEB)
	$(COMP) $(FFLAGS) -o web $(WEB) -lm

sweb.o: sweb.f
	$(COMP) $(FFLAGS) -c sweb.f


# Rule for compiling a Fortran source file:
.f.o: ;	$(COMP) $(FFLAGS) -c $*.f -o $*.o
