added sample executable .gitignore
fixed and improved makefile rules