Get makefiles to compile incrementally