Makefile: macroize, add clean target
move alloc_buffer into comm
add udp_recv()
reindent (better late than never; may want to rewrite commits)