change makefile to build all examples at once.