Mac, Mc, M', Mack or Mak......?
It has to do with the time or period the name was taken into use.
There was no "set" way of writing back then. Only a "fashion" of writing.
They liked to abbreviate, hence the Mc instead of Mac or earlier even a simple M'.
In some cases Mack or Mak. From the...