add subst2.mk

fix subst and patsubst accespt more than 3 arguments.
fix panic error message of subst and patsubst.
2 files changed