Moving common makefiles to the root dir