add buffer.c; update Makefile