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

📄 gnu.mk

📁 有限元学习研究用源代码(老外的),供科研人员参考
💻 MK
字号:
SHELL=/bin/sh

options= -DUSE_PRAGMA_INLINE -DGLTOOLS  -Dfortran_ 
pdelibs=  -lpdelib -lgltools

############################################################################
cc=gcc
ccinc= -I/usr/local/include -I$(INCDIR)
ccopt= -O2 -DNOSTDARG
############################################################################
#cxx=g++
cxx=g2.8
cxxinc=-I. -I/usr/local/lib/g++-include -I$(INCDIR)
cxxopt= -g -O0 -DNOSTDARG -DKASKADE_LIB -DPRAGMA_DEFINE_TEMPLATE -DNO_COMPLEX_TEMPLATE -fexceptions
############################################################################
fc=f77
ffopt= -O2 -i4 -r8


############################################################################
fortlibs=
grlibs=-l$(MESA)GL -l$(MESA)GLU -lXext  -lX11  -lm


loadlibes= $(pdelibs) $(fortlibs) $(grlibs)
ldflags=-L$(LIBDIR) $(track)
shldflags=-shared -all -expect_unresolved '*'
ranlib=true
############################################################################
# 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 + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -