C++ Makefile for burning_bush_daemon
Check error codes, print what was written