2 ms·
When you’re using PHONY, you’re using the wrong tool for the job imo. (That means most people) Just is a task runner, doesn’t do file dependencies / “derived f
by jbverschoor 1y ago
When you’re using PHONY, you’re using the wrong tool for the job imo. (That means most people)
Just is a task runner, doesn’t do file dependencies / “derived files”
Make is the exact opposite. It’s completely based on files, and their derivatives.
Make will (well should) skip already compiled files, speeding up compilation if you’ve only changed 1 of 100000 file into ann object instead of waiting an hour, and go straight to linking.
Just is nice. But they are two different tools, that just happen to share the fact that they have some sort of dependency tree.
The tooling is 40 years old. It’s been long over due, but it’s ubiquitous.