add root dir Makefile and pass compile