how to alter adfruite lcd files

how should i change the files to work with mega
i would be very grateful if u help me
http://educ8s.tv/wp-content/uploads/2016/11/Adafruit_TFTLCD.zip