对Makefile中的换行、缩进进行高效调试的窍门 cat debug

可以使用 cat -v -t -e 把tabs用^I的形式输出,把换行符用$的形式输出

注意:在vscode的默认设置中,会把tab用两个空格代替,需要在右下角进行切换

另外,Makefile只支持tabs,不支持用空格代替tabs

来源:https://stackoverflow.com/questions/16931770/makefile4-missing-separator-stop

posted @ 2022-07-22 14:53  yinhuachen  阅读(318)  评论(0编辑  收藏  举报