added Makefile for quick test and examples
added make 'all' option