3 ms·
The biggest reason I use Make is the dependency resolving. In the `make init` example. It doesn't matter how many intermediate steps are involved `init` is the
by aequitas 7y ago
The biggest reason I use Make is the dependency resolving.
In the `make init` example. It doesn't matter how many intermediate steps are involved `init` is the end-state I want to achieve. So in most of my Makefiles the `init` target will fan-out into requirements as wide and deep as it needs, including running apt to install missing system dependencies. But then the good part. If a dependency is already fulfilled Make won't have to run it again. Although sometimes its hard or clunky to convert some dependencies into 'files' so Make can do its dependency resolving work properly.