Can you make valid Makefiles without tab characters?

前端 未结 10 2614
孤城傲影
孤城傲影 2020-12-02 07:17
target: dependencies
    command1
    command2

On my system (Mac OS X), make seems to require that that Makefiles have a tab character

10条回答
  •  臣服心动
    2020-12-02 07:41

    In vim's insert mode, one can use Ctrl-v to insert a literal tab, even if you have set the tab key to insert spaces. This doesn't answer your question, of course, but might be an alternative to the methods available to avoid needing literal tabs.

提交回复
热议问题