makefile for remote compilation