3 ms·
My biggest disappointment with make, and almost all it’s clones, is that I have to manually write out pre-reqs and targets. My computer knows what files I read
by CJefferson 4y ago
My biggest disappointment with make, and almost all it’s clones, is that I have to manually write out pre-reqs and targets.
My computer knows what files I read and write. Use that to calculate what you should do.
Some systems head in this direction — there is “tup”, and a Python program I love called fabricate ( https://github.com/brushtechnology/fabricate https://github.com/brushtechnology/fabricate ), that records what a program reads, then doesn’t rerun it if no input has changed.
- tpoacher 4y agofor gcc there is the -M flag to generate dependencies. similarly, there's nothing stopping you from autogenerating them in some way that you prefer.