HACKER Q&A
📣 lildata

Use of Make outside of software build automation?


I recently rediscovered the joy & simplicity of make. I also started using it to sort & automate a lot of various daily tasks (adding todos, sending notifications, cleaning files, updates, backups, etc.) Do you also leverage make for those types of use cases? or found better tools to do this?


  👤 tacostakohashi Accepted Answer ✓
I've used make a lot over the years for automation of tasks like fetching lots of large remote files and converting between formats (compressing / uncompressing, image file format conversion).

Any time you have a task with lots of smaller steps that takes several minutes or more to complete from end to end, getting built-in parallelization (-j), error handling, and resuming efficiently from a partially complete state for free with make becomes worthwhile.


👤 PaulHoule
There is a range of ‘logic programming’ and ‘production rules’ tools such as Prolog, Drools, and Clara that can implement Make-like control flow.

👤 monkeybutton
I've heard of one instance where a company started down the path of creating a DSL and implementing a rules engine for their task to realizing they could skip all of that work and just use make instead.