1.1 怎样阅读本手册...................................................................................................................3
1.2 问题和 BUG..........................................................................................................................3
2.1 规则的格式...........................................................................................................................4
2.2 一个简单的 Makefile 文件...................................................................................................4
2.3 make 处理 makefile 文件的过程..........................................................................................5
2.4 使用变量简化 makefile 文件...............................................................................................6
2.5 让 make 推断命令.................................................................................................................7
2.6 另一种风格的 makefile 文件...............................................................................................7
2.7 在目录中删除文件的规则...................................................................................................7
3.1 makefile 文件的内容............................................................................................................9
3.2 makfile 文件的命名..............................................................................................................9
3.3 包含其它的 makefile 文件.................................................................................................10
3.4 变量 MAKEFILES..............................................................................................................10
3.5 makefile 文件重新生成的过程..........................................................................................11
3.6 重载其它 makefile 文件.....................................................................................................12
3.7 make 读取 makefile 文件的过程.......................................................................................12
4.1 规则的语法.........................................................................................................................14
4.2 在文件名中使用通配符.....................................................................................................14
***4.3 在目录中搜寻依赖.......................................................................................................16
4.4 假想目标.............................................................................................................................19
4.5 没有命令或依赖的规则.....................................................................................................20
4.6 使用空目标文件记录事件.................................................................................................20
4.7 内建的特殊目标名.............................................................................................................21
4.8 具有多个目标的规则.........................................................................................................22
4.9 具有多条规则的目标.........................................................................................................22
4.10 静态格式规则...................................................................................................................23
4.11 双冒号规则.......................................................................................................................24
4.12 自动生成依赖...................................................................................................................24
5.1 命令回显.............................................................................................................................26
5.2 执行命令.............................................................................................................................26
5.3 并行执行.............................................................................................................................27
5.4 命令错误.............................................................................................................................28
5.5 中断或关闭 make................................................................................................................29
5.6 递归调用 make....................................................................................................................29
5.7 定义固定次序命令.............................................................................................................32
5.8 使用空命令.........................................................................................................................33
6.1 变量引用基础.....................................................................................................................34
6.2 变量的两个特色.................................................................................................................34
6.3 变量引用高级技术.............................................................................................................36
6.4 变量取值.............................................................................................................................38
6.5 设置变量.............................................................................................................................38
6.6 为变量值追加文本.............................................................................................................39
6.7 override 指令.......................................................................................................................40
评论1
最新资源