update makefile to new circumstances