by Pinus · 4y ago · 0 comments
for d in $(SUBDIRS); do cd $d && $(MAKE); done
A top-level make run would take ages just to recurse through everything to decide that nothing needed to be done, and dependency tracking did not work across modules, so the only way of making sure you got everything rebuilt was to ‘touch’ everything. (The advantage of the setup was that you could check out just part of the tree and build it separately.)It would be really nice if make could read all subdirectory Makefiles, build one global dependency graph and then have at it.
No comments yet.