on-internet
← Community

Can you make valid Makefiles without tab characters?

Stack Overflow ·

target: dependencies command1 command2 On my system (Mac OS X), make seems to require that that Makefiles have a tab character preceding the the content of each command line, or it throws a syntax error. This is an annoyance when creating or editing Makefiles because I have my editor set up to be all-spaces-all-the-time. Can you make valid Makefiles without tab characters?

Comments

Sign in or sign up to comment and upvote.

No comments yet.