creating Makefile for each host