linking send file makefile
fixing common makefile