ajusted makefile and added sample code