Update makefiles for Merge node