rewrite Makefile

fix common file reused by ktapvm and ktap issue.
change comments style from "---" to "#"

don't support long string comments currently.