[Makefile]add begin rule and end rule