makefile for master app