3 ms·
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?
by dima55 6y ago
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?
- rhn_mk1 6y agoThanks 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.
- dima55 6y agoYep. Plenty of real things to argue about.
- eddieh 6y agoMake 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.
- rhn_mk1 6y agoThe 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-goals/notes.txt;h=b03d9e5ea1062869c642a1850a09340ea1575116;hb=HEAD http://git.annexia.org/?p=libguestfs-talks.git;a=blob;f=2020...