update makefile example to print success + automatically build makefile example