update to 2014
one rule for making output dirs
make sure rpc headers are generated first so gcc autodependencies work
put dependency files in separate subdirectory