Added a simple makefile
Removed some warnings