Added Makefile, fixed warnings.