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