docs: function makeFromFile(makefile,target){
  	var read;
  	var basedir='.';
  	if(makefile){
  		read = fs.createReadStream(makefile, {encoding: 'utf8'});
  		basedir=mpath.dirname(makefile);
  	}else{
  		process.stdin.resume();
  		process.stdin.setEncoding('utf8');
  		read = process.stdin;
  	}
  	read.on('data', function (data){
  		try {
  			var o=JSON.parse(data);
  			make(basedir, o, target);
  		}catch(e){
  			console.log(e);
  		}
  	});
  }