linux.mk
来自「有限元学习研究用源代码(老外的),供科研人员参考」· MK 代码 · 共 51 行
MK
51 行
SHELL=/bin/sh
MESA=Mesa
############################################################################
cc=cc
ccinc=
ccopt= -O3 -ansi -pedantic -Wall -Dfortran
###########################################################################
cxx=g++
cxxinc=
cxxopt=-O
############################################################################
fc=g77
ffopt=-O3 -i4 -fno-underscoring
############################################################################
fortlibs=-lg2c
grlibs=-l$(MESA)GL -l$(MESA)GLU -lXext -lX11 -lm
TERMCAP=-lncurses
archlibs=$(fortlibs) $(grlibs) -ldl
ldflags=-L/usr/X11/lib -L$(LIBDIR) $(track)
ranlib=true
archcflags=$(options) $(ccinc) $(ccopt)
archcxxflags=$(options) $(cxxinc) $(cxxopt)
archfflags=$(ffopt)
############################################################################
# COMPILER/LIBRARY SYSDEPS
#---------------------------------------------------------------------------
# -DNOPROTO : no protoyping
# -DNOSTDARG : no /usr/include/stdarg.h
# -DNOACPP : no ansi cpp (token pasting)
# (these options can be combined)
#---------------------------------------------------------------------------
# -DBSD_TIMER : use rusage()
# -DPOSIX_TIMER : use times()
# -DANSI_TIMER : use clock() (default)
# (these options cannot be combined)
#---------------------------------------------------------------------------
# How the fortran compiler generates external names to be called from C:
# -DFORTRAN : CALL FOO(BAR) -> FOO(bar);
# -DFORTRAN_ : CALL FOO(BAR) -> FOO_(bar);
# -Dfortran : CALL FOO(BAR) -> foo(bar);
# -Dfortran_ : CALL FOO(BAR) -> foo_(bar); (default)
# (these options cannot be combined)
#---------------------------------------------------------------------------
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?