updated makefile and error message