Makefile中的几个调试方法
来源:互联网 发布:java简历专业技能 编辑:程序博客网 时间:2024/06/04 00:29
1,使用info/warning/error增加调试信息
方法1: $(info, "here add the debug info")
但是此不能打印出.mk的行号
方法2: $(warning, "here add the debug info")
方法3: $(error "error: this will stop the compile")
这个可以停止当前makefile的编译
方法4: 打印变量的值
$(info, $(TARGET_DEVICE) )
2,使用echo增加调试信息(echo只能在target:后面的语句中使用,且前面是个TAB)
方法1: @echo "start the compilexxxxxxxxxxxxxxxxxxxxxxx"
方法2: @echo $(files)
1 0
- Makefile中的几个调试方法
- Makefile中的几个调试方法
- Makefile中的几个调试方法
- Makefile常用调试方法
- Makefile中的几个自动化变量
- makefile中的几个赋值符号
- windbg几个调试方法
- Android makefile文件调试方法
- 关于Makefile中的几个=号
- 调试ffmpeg与Makefile中的STRIP
- squid 安装调试过程中的几个常用命令
- 串口GSM MODEM调试中的几个细节
- Squid 安装调试过程中的几个常用命令
- 驱动中的调试方法
- jsp中的几个跳转方法
- Hibernate DAO中的几个方法
- HttpServlet中的几个常用方法
- Canvas中的几个重要方法
- shell常用的debug方法
- rtp dts时间戳 计算 rtmp dts时间戳
- jquery新版本jquery1.10不再支持live方法
- C#的oracle连接字符串
- 前端流程自动化
- Makefile中的几个调试方法
- GDI+学习之------ 绘制角度可变的颜色渐变效果
- HDU 4970 思路题
- cf_296(Div2)
- Factorial Trailing Zeroes
- iOS 史上最全的图片压缩方法集合
- C++的类和类的定义
- 分区表(网上随意复制作自我学习知识点)
- 单引号转义符q’的使用