format code and makefile