Compile and link many .C files for a benchmark.