updated makefiles to not rebuild without need, added global makefile
Merge pull request #7 from stroncium/master

updated makefiles to not rebuild without need, added global makefile