Added some dirty but useful Makefile machinery for building the examples. Still a hack, doesn't really track dependencies.