FORTRAN = f77 $(VERBOSE)
OPTS  =  -O
LOADER = f77 $(VERBOSE)
LOADOPTS = -O

#LAPACKLIB = /usr/local/lib/liblapack.a
#BLASLIB = -xlic_lib=sunperf
LAPACKLIB = -llapack
BLASLIB = -lblas

ALINTST = \
   testdgeev.o testaux2.o

all: testdgeev testdgeev.out

testdgeev : $(ALINTST)
	$(LOADER) $(LOADOPTS)  $(ALINTST) \
        $(LAPACKLIB) $(BLASLIB)  -o $@

testdgeev.out: testdgeev
	@echo Testing DGEEV
	./testdgeev > $@ 2>&1
	cat $@

clean:
	rm -f testdgeev testdgeev.out *.o core *.core
 
.f.o: 
	$(FORTRAN) -c $(OPTS) $*.f
