Refs #247. Included lapack source codes. Avoid downloading tar.gz from netlib.org
Based on 3.4.2 version, apply patch.for_lapack-3.4.2.
This commit is contained in:
74
lapack-netlib/BLAS/TESTING/Makeblat3
Normal file
74
lapack-netlib/BLAS/TESTING/Makeblat3
Normal file
@@ -0,0 +1,74 @@
|
||||
include ../../make.inc
|
||||
|
||||
#######################################################################
|
||||
# This makefile creates the test programs for the BLAS 3 routines.
|
||||
# The test files are grouped as follows:
|
||||
# SBLAT3 -- Single precision real test routines
|
||||
# CBLAT3 -- Single precision complex test routines
|
||||
# DBLAT3 -- Double precision real test routines
|
||||
# ZBLAT3 -- Double precision complex test routines
|
||||
#
|
||||
# Test programs can be generated for all or some of the four different
|
||||
# precisions. To create the test programs, 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 all four test programs.
|
||||
# The executable files which are created are called
|
||||
# ../xblat3s, ../xblat3d, ../xblat3c, and ../xblat3z
|
||||
#
|
||||
# To remove the object files after the executable files have been
|
||||
# created, enter
|
||||
# make clean
|
||||
# To force the source files to be recompiled, enter, for example,
|
||||
# make single FRC=FRC
|
||||
#
|
||||
#######################################################################
|
||||
|
||||
SBLAT3 = sblat3.o
|
||||
|
||||
CBLAT3 = cblat3.o
|
||||
|
||||
DBLAT3 = dblat3.o
|
||||
|
||||
ZBLAT3 = zblat3.o
|
||||
|
||||
all: single double complex complex16
|
||||
|
||||
single: ../xblat3s
|
||||
double: ../xblat3d
|
||||
complex: ../xblat3c
|
||||
complex16: ../xblat3z
|
||||
|
||||
../xblat3s: $(SBLAT3)
|
||||
$(LOADER) $(LOADOPTS) $(SBLAT3) \
|
||||
$(BLASLIB) -o ../xblat3s
|
||||
|
||||
../xblat3c: $(CBLAT3)
|
||||
$(LOADER) $(LOADOPTS) $(CBLAT3) \
|
||||
$(BLASLIB) -o ../xblat3c
|
||||
|
||||
../xblat3d: $(DBLAT3)
|
||||
$(LOADER) $(LOADOPTS) $(DBLAT3) \
|
||||
$(BLASLIB) -o ../xblat3d
|
||||
|
||||
../xblat3z: $(ZBLAT3)
|
||||
$(LOADER) $(LOADOPTS) $(ZBLAT3) \
|
||||
$(BLASLIB) -o ../xblat3z
|
||||
|
||||
$(SBLAT3): $(FRC)
|
||||
$(CBLAT3): $(FRC)
|
||||
$(DBLAT3): $(FRC)
|
||||
$(ZBLAT3): $(FRC)
|
||||
|
||||
FRC:
|
||||
@FRC=$(FRC)
|
||||
|
||||
clean:
|
||||
rm -f *.o
|
||||
|
||||
.f.o:
|
||||
$(FORTRAN) $(OPTS) -c $< -o $@
|
||||
Reference in New Issue
Block a user