I\'m running the following kind of pipeline:
digestA: hugefileB hugefileC cat $^ > $@ rm $^ hugefileB: touch $@ hugefileC: touch $@ <
digestA: hugefileB hugefileC cat $^ > $@ rm $^ hugefileB: touch $@ hugefileC: touch $@
I would recommend you to create pseudo-cache files that are created by the hugefileB and hugeFileC targets.
hugefileB
hugeFileC
Then have digestA depend on those cache files, because you know they will not change again until you manually invoke the expensive targets.
digestA