Merges makefiles