Updated makefiles to not rebuild everything. Added global Makefile