Makefile for daemon