overhauled makefile inorder to build more examples