A proper Makefile. Moved example under dir examples/.