add makefile to project; tweak makefile