• 博客园logo
  • 会员
  • 众包
  • 新闻
  • 博问
  • 闪存
  • 赞助商
  • HarmonyOS
  • Chat2DB
    • 搜索
      所有博客
    • 搜索
      当前博客
  • 写随笔 我的博客 短消息 简洁模式
    用户头像
    我的博客 我的园子 账号设置 会员中心 简洁模式 ... 退出登录
    注册 登录
 






HelloCsz

 
 

Powered by 博客园
博客园 | 首页 | 新随笔 | 联系 | 订阅 订阅 | 管理

2018年1月23日

函数
摘要: wildcard:扩展通配符 notdir:去除路径 patsubst:替换通配符 替换引用规则:obj= $(patsubst %.c,%.o,$(dir) == obj$(dir:%.c=%.o addsuffix:对文件名加后缀$(addsuffix .o $(basename $(SOURC 阅读全文
posted @ 2018-01-23 18:06 HelloCsz 阅读(84) 评论(0) 推荐(0)
 
=、:=、?=、+=
摘要: ”?=“:如果没有被赋值过就赋值 "+=":添加等号后面的值 "="和":=":前者是makefile会将这个makefile展开后再决定变量的值,后者是决定变量在makefile中位置的当前值 阅读全文
posted @ 2018-01-23 17:48 HelloCsz 阅读(128) 评论(0) 推荐(0)
 
submodule
摘要: git submodule init:根据.gitmodules的名称和URL,将这些注册到.git/config内,使用这个指令并不能自动删除.git/config相关内容,必须手动删除 git submodule update:根据已注册(.git/config)的submodule进行更新 g 阅读全文
posted @ 2018-01-23 11:53 HelloCsz 阅读(237) 评论(0) 推荐(0)