News for hackers. Stuff that matters.
Re:Ask HN: Programs that saved you 100 hours? (2022 edition) by hedora on Tuesday December 20, 2022 @02:52PM (#34071488)
The point of make is that it's not only useful for building software. Take a look at the built-in implicit rules:

https://www.gnu.org/software/make/manual/html_node/Catalogue...

There are two things to note: (1) you can turn them off so they don't get in the way of other use cases, (2) they include non-build stuff like version control, linting, and document generation.

There's also a whole chapter on ar file maintenance. This is mostly useful for linking these days, but ar is the precursor to tar, so this used to also be useful for running filesystem backups:

https://www.gnu.org/software/make/manual/html_node/Archives....

Re:Ask HN: Programs that saved you 100 hours? (2022 edition) by vehementi on Tuesday December 20, 2022 @04:38PM (#34072985)
Your point is that make has uses beyond that. That is not "the point of make"
Re:Ask HN: Programs that saved you 100 hours? (2022 edition) by lelandbatey on Tuesday December 20, 2022 @06:49PM (#34074628)
No, that absolutely is the point of `make`. You quoted the "overview of make" page[0] which does say "The make utility automatically determines which pieces of a large program need to be recompiled, and issues commands to recompile them."

However, that same page, about 5 lines down, expands to say:

> Indeed, 'make' is not limited to programs. You can use it to describe any task where some files must be updated automatically from others whenever the others change.

Which is exactly what the original poster is claiming.