Updates makefile to only recompile changed sources