got the makefile and setup to work on mac, seeing if it still works on ubuntu