Separate makefile for tests and examples