Refactoring the Makefile into each repo's individual Makefile