News for hackers. Stuff that matters.
Re:How to list all the targets on a Makefile by caterama on Wednesday July 01, 2020 @02:05PM (#23704511)
I absolutely despise make and think it's ridiculous that a tool that can't handle spaces vs tabs is so "mainstream".
Re:How to list all the targets on a Makefile by invsblduck on Wednesday July 01, 2020 @02:42PM (#23704926)
Most newer/younger people don't like or know Make; it's old, arcane software.

It differentiates between TABs and Spaces because each one signifies a different thing to follow: Lines starting with TAB indicate that a _recipe_ follows (which is shell syntax), and lines NOT starting with TAB indicate that a _rule_ follows (ie., native Makefile grammar/syntax).

Hate it or not, it's been a reliable workhorse for decades.

Re:How to list all the targets on a Makefile by bch on Wednesday July 01, 2020 @04:56PM (#23706566)
Disclaimer: I like make(1).

That said, the description above is accurate, but still describes an almost immediately regrettable mistake[0]. Many are used to it now, and the semantics are “fact” now, but could still have been avoided.

[0] https://stackoverflow.com/a/1765566

Re:How to list all the targets on a Makefile by invsblduck on Wednesday July 01, 2020 @05:30PM (#23706953)
Thank you for the epic reference! Despite all the classic works in computer history, I've come to realize that TAOUP is honestly/possibly my favorite. ok, maybe tied for favorite...
Re:How to list all the targets on a Makefile by dima55 on Wednesday July 01, 2020 @03:25PM (#23705404)
If THAT's your beef with Make, a pro tip: you can use ";" instead of TAB. Problem solved?