makeblat2

来自「famous linear algebra library (LAPACK) p」· 代码 · 共 65 行

TXT
65
字号
!include <..\..\make.inc>
 
#######################################################################
#  This makefile creates the test programs for the BLAS 2 routines.
#  The test files are grouped as follows:
#       SBLAT2 -- Single precision real test routines
#       CBLAT2 -- Single precision complex test routines
#       DBLAT2 -- Double precision real test routines
#       ZBLAT2 -- 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 nmake followed by one
#  or more of the precisions desired.  Some examples:
#       nmake single
#       nmake single complex
#       nmake single double complex complex16
#  Alternatively, the command
#       nmake
#  without any arguments creates all four test programs.
#  The executable files which are created are called
#       ..\xblat2s, ..\xblat2d, ..\xblat2c, and ..\xblat2z
#
#  To remove the object files after the executable files have been
#  created, enter
#       nmake clean
#
#######################################################################

SBLAT2 = sblat2.obj 

CBLAT2 = cblat2.obj 

DBLAT2 = dblat2.obj 

ZBLAT2 = zblat2.obj

all:  single double complex complex16

single: ..\xblat2s
double: ..\xblat2d
complex: ..\xblat2c
complex16: ..\xblat2z

..\xblat2s: $(SBLAT2)
	$(LOADER) $(LOADOPTS) $(SBLAT2) \
        $(BLASLIB)  $(EXEFLAGS)..\xblat2s

..\xblat2c: $(CBLAT2) 
	$(LOADER) $(LOADOPTS) $(CBLAT2) \
        $(BLASLIB)  $(EXEFLAGS)..\xblat2c
 
..\xblat2d: $(DBLAT2) 
	$(LOADER) $(LOADOPTS) $(DBLAT2) \
        $(BLASLIB)  $(EXEFLAGS)..\xblat2d
 
..\xblat2z: $(ZBLAT2) 
	$(LOADER) $(LOADOPTS) $(ZBLAT2) \
        $(BLASLIB)  $(EXEFLAGS)..\xblat2z
 
clean:
	$(DEL) *.obj
 
.f.obj: 
	$(FORTRAN) $(OPTS) $(CFLAGS) $< $(OBJFLAGS)$@

⌨️ 快捷键说明

复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?