added makefile & fixed compiling