[foss4g2014] Add hit detection example
Change Makefile for foss4g2014