Add makefile and update code example