⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 makefile.def

📁 用于求解大型稀疏线性方程组Ax=b的数值计算库.
💻 DEF
字号:
# SPBLASTK v. x.x############################################################## Makefile.def for Sparse BLAS Toolkit (Basic)############################################################EXENAME     = -oOBJ_EXT     =  oLIB_EXT     =  aEXE_EXT     =SHELL       = /bin/shARCHIVE     = ar rvTOOLKIT_A   = ../lib/libsbtk.$(LIB_EXT)INCLUDES    = -I../include/# Edit this file according to available compilers/architecture.#  1) Choose C compiler#  2) Indicate availability of a Fortran compiler, and choose if available#  3) Indicate availability of ranlib###  1) Choose appropriate C compiler:#     (Last listed will be chosen.)## Cray and Various:## cc (Unix)#  CC                      = cc  CFLAGS                  = -O3  LDFLAGS                 =  $(TOOLKIT_A) -lm# IBM:## xlc#  CC                      = xlc  CFLAGS                  = -O  LDFLAGS                 =  $(TOOLKIT_A) -lm# Sun:## acc#  CC                      = acc  CFLAGS                  = -O3 -unroll=4  LDFLAGS                 =  $(TOOLKIT_A) -lm# Various:## gcc v. 2.7.0#  CC                      = gcc  CFLAGS                  = -O3 -funroll-loops  LDFLAGS                 =  $(TOOLKIT_A) -lm## 2) Indicate availability of Fortran compiler and, if available,#    choose appropriate Fortran compiler:#    (Last listed will be chosen.)#    If Fortran compiler is not available, set HASFORTRAN to 'f'#  HASFORTRAN = t# Cray and Various:## f90#  FC                      = f90  FFLAGS                  = -O3  LDFLAGS                 =  $(TOOLKIT_A) -lm# IBM:## xlf#  FC                      = xlf  FFLAGS                  = -O -qextname# Various:## f77#  FC                      = f77  FFLAGS                  = -O  LDFLAGS                 =  $(TOOLKIT_A) -lm## ranlib is available on this system? 't' or 'f'## for example, Sun solaris and Cray set to 'f'  HASRANLIB = t############################################################ Do not edit beyond this line.###########################################################.SUFFIXES: .c .cc .$(OBJ_EXT).c.$(OBJ_EXT):	$(CC) $(CFLAGS) $(INCLUDES) -c $?.o: 	$(CC) $(CFLAGS) $(INCLUDES) -o $@ $@.o $(LDFLAGS)

⌨️ 快捷键说明

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