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

📄 substitution

📁 Linux 下的编译工具
💻
字号:
#                                                                    -*-perl-*-$description = "Test the subst and patsubst functions";$details = "";# Generic patsubst test: test both the function and variable form.run_make_test('foo := a.o b.o c.obar := $(foo:.o=.c)bar2:= $(foo:%.o=%.c)bar3:= $(patsubst %.c,%.o,x.c.c bar.c)all:;@echo $(bar); echo $(bar2); echo $(bar3)','','a.c b.c c.ca.c b.c c.cx.c.o bar.o');# Patsubst without '%'--shouldn't match because the whole word has to match# in patsubst.  Based on a bug report by Markus Mauhart <qwe123@chello.at>run_make_test('all:;@echo $(patsubst Foo,Repl,FooFoo)', '', 'FooFoo');# Variable subst where a pattern matches multiple times in a single word.# Based on a bug report by Markus Mauhart <qwe123@chello.at>run_make_test('A := fooBARfooBARfooall:;@echo $(A:fooBARfoo=REPL)', '', 'fooBARREPL');1;

⌨️ 快捷键说明

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