more generic makefile for the examples