Thu Nov 29 12:15:23 EST 2018
Proper hierarchical make
The thing is to always abstract a sub-build with explicit dependencies.
A simple idea, but for some reason very hard to get into my thick head..
So when creating a generator in a different language, always abstract
it as a triplet:
(input files, generator code to run, output files)
It is probably possible to look at all the files that are touched by
some strace trick.
EDIT: the input,output list can be specified as a Makefile, similar to
gcc producing .d files.
EDIT: added this to asm_tools as an example.
EDIT: changed it to multi in, multi out. otherwise there is no way to
abstract "coarse" build processes.