Add a -v option, BUILD is replicated in mdnsd and mdnsctl, make a common .mk if
we need more stuff.
diff --git a/mdnsctl/Makefile b/mdnsctl/Makefile
index cc386a2..484fdaa 100644
--- a/mdnsctl/Makefile
+++ b/mdnsctl/Makefile
@@ -2,7 +2,11 @@
 
 PROG=	mdnsctl
 SRCS=	mdnsctl.c parser.c mdnsl.c 
-CFLAGS+= -g -Wall
+
+BUILD!=date '+%Y-%m-%d'
+
+CFLAGS+=-DBUILD="${BUILD}"
+pCFLAGS+= -g -Wall
 CFLAGS+= -Wstrict-prototypes -Wmissing-prototypes
 CFLAGS+= -Wmissing-declarations
 CFLAGS+= -Wshadow -Wpointer-arith -Wcast-qual