updated Makefile and references