Makefile fixed and circular buffer functions for server are integrated.