the makefile now seems to be working, though throws a few weird errors too