News for hackers. Stuff that matters.
Re:Falsehoods programmers believe about build systems (2012) by dima55 on Saturday July 18, 2020 @04:08PM (#23884419)
Of all the things to complain about, this one is just silly. You can use ; instead of TAB. There. Problem solved? Do you like Make now?
Re:Falsehoods programmers believe about build systems (2012) by rhn_mk1 on Saturday July 18, 2020 @04:15PM (#23884475)
Thanks for the tip! I had no idea about this.

I reserve the right to be fully satisfied only after the majority of random Makefiles I find on the net or emitted from build systems will use that convention.

To add another thing to the pot, let me repeat some things already mentioned or implied:

Make is too focused on files. Not every input is a file, and not every artifact is supposed to be a file either.

Make doesn't allow choosing the update criterion per file. Sometimes it's the has, sometimes the timestamp, and sometimes the parsed AST of the source code that should trigger a rebuild when changed.

Re:Falsehoods programmers believe about build systems (2012) by eddieh on Saturday July 18, 2020 @04:45PM (#23884693)
Make has phony targets for when you don't want a file. Any update criterion can be delegate to a script or a helper tool such as with latexmk for building LaTeX documents with Make.
Re:Falsehoods programmers believe about build systems (2012) by rhn_mk1 on Sunday July 19, 2020 @01:50AM (#23887309)
The phony target is a problem because it can't be an input to another stage of the process.

It's a good thing that the update criterion can be delegated, but this should really be a thing that has a wide range of builtin options, both for ergonomics, and for avoidng mistakes. "Goals" comes to mind: http://git.annexia.org/?p=libguestfs-talks.git;a=blob;f=2020...

Re:Falsehoods programmers believe about build systems (2012) by dima55 on Saturday July 18, 2020 @04:45PM (#23884687)
Yep. Plenty of real things to argue about.