Create Makefile of boot part and write some code.