error happens when adding Makefile