Tool for debugging makefiles

前端 未结 6 1215
有刺的猬
有刺的猬 2020-12-12 13:08

I have a large legacy codebase with very complicated makefiles, with lots of variables. Sometimes I need to change them, and I find that it\'s very difficult to figure out

6条回答
  •  悲哀的现实
    2020-12-12 13:34

    There is a GNU make debugger project at http://gmd.sf.net which looks quite useful. The main feature supported by gmd is breakpointing, which may be more useful than stepping. To use this, you download gmd from http://gmd.sf.net and gmsl from http://gmsl.sf.net, and do an 'include gmd' in your makefile.

提交回复
热议问题