#########################################################################
#                                                                       #
# File   : makefile                                                     #
# Purpose: Create Blas libraries for csis3                               #
# Author : Sowmini Varadhan                                             #
#                                                                       #
#########################################################################
BUILD   = ar rv
RANLIB  = ranlib
F77     = f77 -O -c
#
.f.o:   $*.f 
	${F77} $*.f
#
OBJS  = caxpy.o ccopy.o cdotc.o cgemm.o cgemv.o cgerc.o \
        chemv.o cher2.o cher2k.o cscal.o csscal.o cswap.o \
        ctrmm.o ctrmv.o scnrm2.o

#
#  make the library containing single  precision and complex
#
lib:	$(OBJS)
	$(BUILD) $(LIBRARY) $(OBJS)
	$(RANLIB) $(LIBRARY)

#
#  clean	- remove all object files
#
clean:
	rm -f *.o a.out core

