makefile.includelinux

来自「数学算法的实现库。可以实现常见的线性计算。」· INCLUDELINUX 代码 · 共 86 行

INCLUDELINUX
86
字号
# where are the libraries for the Linux platform located# note that the platform will be added to this path!PLATFORM=linux# -------------------------------# C-preprocessor used for FORTRAN source codesCPP=g77# preprocessor optionsCPPFLAGS=-E# -------------------------------# which C-compiler do we useCC=cc# C compiler optionsCCFLAGS= -O #CCFLAGS= -g# -------------------------------# switch for names alias of fortran routines# -D__UNDERSCORE__   use this, if a fortran routine say "daxpy" has to be #                    called from C using the name "daxpy_"# -D__CAPS__         use this, if a fortran routine say "daxpy" has to be#                    called from C using the name "DAXPY"# -D__2UNDERSCORES__ use this, if a fortran routine say "daxpy" has to be #                    called from C using the name "daxpy__"# You can combine __CAPS__ with either __UNDERSCORE__ or __2UNDERSCORES__# to obtain names like "DAXPY_" or "DAXPY__"# SOLARIS OS:      -D__UNDERSCORE__# Red Hat Linux:   -D__UNDERSCORE__# AIX:             noneFORTRANNAMES=-D__UNDERSCORE__# -------------------------------# which fortran compiler is usedFF=g77-3.0# its flagsFFFLAGS=  -O#FFFLAGS=  -g# -------------------------------# Preprocessor + FORTRAN CompilerFCOMPILE=$(FF)  $(FFFLAGS)  -I$(INCDIR) $(ARITHMETIC) -c -o $@ $<#FCOMPILE=rm -rf $*.f;\#         $(CPP) $(CPPFLAGS) -I$(INCDIR) $(ARITHMETIC) $<  >$*.f;\#         $(FF)  $(FFFLAGS)  -I$(INCDIR) -c -o $@ $*.f;\#	 rm -rf $*.f# -------------------------------# which linker do we useLD=$(FF)# its flagsLDFLAGS=# -------------------------------# how do we create a libraryAR=ar# its flagsARFLAGS=ru# -------------------------------# how to update the libraryRL=ranlib# its flagsRLFLAGS=# -------------------------------# miscelaneous abbreviationsCAT=catRM=rmMV=mvCP=cp

⌨️ 快捷键说明

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