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

📄 link-2.test

📁 这是一个自动生成MAKEFILE的工具。一个很有用的库。在LINUX工程项目里是很好的帮手。希望对大家有点帮助。
💻 TEST
字号:
#! /bin/sh# link.test - check that .lo files aren't made into programs.# Test script header.need_prefix=noif test -z "$srcdir"; then  srcdir=`echo "$0" | sed 's%/[^/]*$%%'`  test "$srcdir" = "$0" && srcdir=.  test "${VERBOSE+set}" != "set" && VERBOSE=yesfi. $srcdir/defs || exit 1rm -f hell.locat > hell.lo <<EOF# Generated by libtoolpic_object=nonenon_pic_object=hell.oEOF# Try a sample link command.linkresult=`$libtool -n --mode=link $CC -o something foo.o hell.lo`res=$?rm -f hell.lotest $res -eq 0 || exit 1echo "$linkresult"case "$linkresult" in*".lo "*)  echo "$0: .lo files should not be linked into programs"  exit 1  ;;esacexit 0

⌨️ 快捷键说明

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