摘要: filter:代表中目标串中找出符合匹配规则的。 示例: sources := foo.c bar.c baz.s ugh.h foo: $(sources) cc $(filter %.c %.s,$(sources)) -o foo 使用“$(filter %.c %.s,$(sources)) 阅读全文
posted @ 2018-01-17 19:47 Key_Ky 阅读(1478) 评论(0) 推荐(0) 编辑
摘要: 转自:https://www.cnblogs.com/pop-lar/p/5123014.html thread_local变量是C++11新引入的一种存储类型。它会影响变量的存储周期(Storage duration),有且只有thread_local关键字修饰的变量具有线程周期(thread d 阅读全文
posted @ 2018-01-17 19:37 Key_Ky 阅读(394) 评论(0) 推荐(0) 编辑