Remove uneccessary global var i; updates to Makefile

variable i no longer needed to be global due to improved parsing
of command line options.  Makefile continues to be updated as I
learn more about hand writing them.