Modified gitignore
Fixed detect.c source
Added Makefile