fix get_next_line
clean the main.c, fix get_next_line, fix .phony in the Makefile