Add Makefile for non XCode users

Also fix some warnings about const integers/bools;
use stringstreams for integers/strings conversions;
update .gitignore to ignore objects and dependencies files
Merge pull request #1 from lledey/master

Add Makefile, and some other minor improvements