prepare unix makefile for compiling