Update sample

Updated sample/.

Makefiles are completely re-written.

Check on other system than Linux-GNU is  necessary.

README.md (or something other file) is still to be written to explain how to compile/run this sample.