add lib.c in Makefile