1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87
|
############################################################################
#
# Program: PBLAS -- (version 2.0 beta)
#
# Module: Makefile
#
# Purpose: PB-BLAS remaining source Makefile
#
# Creation date: August 24, 1997
#
# Modified: February 15, 2000
#
# Send bug reports, comments or suggestions to scalapack@cs.utk.edu
#
############################################################################
include ../../../SLmake.inc
############################################################################
#
# The library can be set up to include routines for any combination
# of the four precisions. First, modify the ../../../SLmake.inc file
# definitions to match your compiler and the options to be used.
# Then to create or add to the library, enter make followed by one or
# more of the precisions desired. Some examples:
# make single
# make single complex
# make single double complex complex16
# Alternatively, the command
# make
# without any arguments creates a library of all four precisions.
#
# To remove the object files after the library is created, enter
# make clean
# To force the source files to be recompiled, enter, for example,
# make single FRC=FRC
#
############################################################################
all: single double complex complex16
PBSBLASAUX = pbstran.o pbsmatadd.o pbstrsrt.o pbstrget.o \
pbstrnv.o pbsvecadd.o pbstrst1.o
PBCBLASAUX = pbctran.o pbcmatadd.o pbctrsrt.o pbctrget.o \
pbctrnv.o pbcvecadd.o pbctrst1.o
PBDBLASAUX = pbdtran.o pbdmatadd.o pbdtrsrt.o pbdtrget.o \
pbdtrnv.o pbdvecadd.o pbdtrst1.o
PBZBLASAUX = pbztran.o pbzmatadd.o pbztrsrt.o pbztrget.o \
pbztrnv.o pbzvecadd.o pbztrst1.o
#---------------------------------------------------------------------------
$(PBSBLASAUX) : $(FRC)
$(PBCBLASAUX) : $(FRC)
$(PBDBLASAUX) : $(FRC)
$(PBZBLASAUX) : $(FRC)
#---------------------------------------------------------------------------
single: $(PBSBLASAUX)
$(ARCH) $(ARCHFLAGS) $(SCALAPACKLIB) $(PBSBLASAUX)
$(RANLIB) $(SCALAPACKLIB)
double: $(PBDBLASAUX)
$(ARCH) $(ARCHFLAGS) $(SCALAPACKLIB) $(PBDBLASAUX)
$(RANLIB) $(SCALAPACKLIB)
complex: $(PBCBLASAUX)
$(ARCH) $(ARCHFLAGS) $(SCALAPACKLIB) $(PBCBLASAUX)
$(RANLIB) $(SCALAPACKLIB)
complex16: $(PBZBLASAUX)
$(ARCH) $(ARCHFLAGS) $(SCALAPACKLIB) $(PBZBLASAUX)
$(RANLIB) $(SCALAPACKLIB)
#---------------------------------------------------------------------------
FRC:
@FRC=$(FRC)
clean :
rm -f *.o
.f.o : ; $(F77) -c $(F77FLAGS) $*.f
|