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

📄 get_full_libnames

📁 是地震解释软件OpenglTect的源码,3d效果很棒
💻
字号:
#!/bin/csh#__Pmake________________________________________________________________________## $Id: get_full_libnames,v 1.6 2006/01/04 17:24:45 cvsdgb Exp $# This script returns the full libname for a given link directive#_______________________________________________________________________________set libsubd=$1shiftset archext=aset dynext=soset libprfx=libif( $HDIR == "win" ) then    set archext=lib    set dynext=dll    set libprfx=""else if ( $HDIR == "mac" ) then    set dynext=dylibendif#set verbose=yes#set echo=onforeach inp ( $* )    set libnm=$inp    if ( -e $libnm || -d $libnm:h ) then	echo $libnm    else	set isminl=`echo $libnm | awk '{ printf( "%s", substr($1,1,2) == "-l" ? "1" : "0" ); }'`	if ( $isminl == 1 ) then	set libnm=`echo $inp|awk '{ print substr($1,3,length($1)); }'`	set libnm=${libprfx}${libnm}.${archext}	if ( ! -e $WORK/lib/$libsubd/$libnm ) then	    set libnm=$libnm:r	    set libnm=${libnm}.${dynext}	endif	echo "$WORK/lib/$libsubd/$libnm"    endifendexit 0

⌨️ 快捷键说明

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