Can you make valid Makefiles without tab characters?

前端 未结 10 2588
孤城傲影
孤城傲影 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:33

    Not portably. Certain flavours of make absolutely require tab characters. Yet another reason for preferring tabs over spaces :-)

提交回复
热议问题