码迷,mamicode.com
首页 > 其他好文 > 详细

跟踪Makefile输出调试信息

时间:2017-08-14 10:18:44      阅读:150      评论:0      收藏:0      [点我收藏+]

标签:info   状态   需要   file   blog   com   tps   color   style   

/*********************************************************************
 *                  跟踪Makefile输出调试信息
 * 说明:
 *     有时候为了了解项目的Makefile是怎么工作的,需要加入一些调试信息,
 * 查看一些变量状态,来判断编译流程是如何进行的。
 *
 *                                   2017-8-14 深圳 龙华樟坑村 曾剑锋
 ********************************************************************/

一、参考文档:
    https://github.com/ZengjfOS/MiCONotes/blob/master/Makefle_hacking.md

二、方法:
    Makefile中添加调试信息方法,方便跟踪Makefile信息:
        $(info [message])
        $(info $(variable name))
        $(info [message] $(variable name) ...)
        $(info $(variable name) [message] ...)

 

跟踪Makefile输出调试信息

标签:info   状态   需要   file   blog   com   tps   color   style   

原文地址:http://www.cnblogs.com/zengjfgit/p/7355989.html

(0)
(0)
   
举报
评论 一句话评论(0
登录后才能评论!
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!