updated Makefile, readme and example
made makefile presumably work on linux. not tested