add a Makefile to facilitate building examples