created makefile for linux and mac