I wrote a quick wrapper program for Richard (richlowe); it passes ccache and distcc on the command-line, along with whatever arguments you specify. It's written in C to minimize shell invocation overhead. Here's the source. Call it as shorthand for the usual ccache, distcc, cc chain, like so: gmake -j8 CC=ccdc
.