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

📄 suffix.test

📁 这是一个自动生成MAKEFILE的工具。一个很有用的库。在LINUX工程项目里是很好的帮手。希望对大家有点帮助。
💻 TEST
字号:
#! /bin/sh# suffix.test - check that libtool knows how to transform source suffices.# Extensions taken from the ones that Automake recognizes, plus Objective C,# and GNU Ada.extensions="C F S ada adb ads asm c c++ cc cpp cxx f f90 for m s"bad_names="foo."# 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 1status=0for ext in $extensions; do  # Try a sample compile command.  if ($libtool -n --mode=compile compiler -c foo.$ext 2>&1; exit 0) | grep 'cannot'; then    status=1  else    echo "recognized foo.$ext as a valid source file"  fidone# Make sure that invalid suffixes are not recognized.for name in $bad_names; do  if ($libtool -n --mode=compile compiler -c $name 2>&1; exit 0) | grep 'cannot'; then :  else    echo "incorrectly recognized $name as a valid source file"    status=1  fidoneexit $status

⌨️ 快捷键说明

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