update sample.Makefile in main dir and Makefile in src dir
(#6)