add malloc.c and scanf.c for makefile