updated makefiles to not rebuild without need, added global makefile