#
# This makefile compiles and loads the SDASKR example program skrdem.
# 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)/sbanpre.o

DEMO = skrdem.o $(OBJS)

DEMO : $(DEMO)
	$(COMP) $(FFLAGS) -o demo $(DEMO) -lm

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


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