Makefile SM
Makefile upgrade for MSE