Updated example programs and Makefiles