makefile for sendall/recvall