fixed some bugs in makefile and linkedlist.c