随笔分类 - gnu make
摘要:1.文本处理和分析函数 $(subst from,to,text) 替换 $(patsubst pattern,replacement,text) 模式替换,可用%(只用第一个%有用),如 $(patsubst %.c,%.o,x.c.c bar.c),结果 ‘x.c.o bar.o’ $(stri
阅读全文
摘要:define two_commandsecho 1111111111111echo 22222222222endef 相当于 two_commands = echo 1111111111111;echo 22222222222 可以直接调用$(two_commands)
阅读全文
摘要:1.symbol "$@" is for target(now is edit), "$^" is for the whole prerequisties(now is "Hello.java Hi.java Work.java"), "$<" is for the first prerequist
阅读全文

浙公网安备 33010602011771号