Regex patterns used: ; [0-9a-f]{1,5} \([0-9a-f]{1,2}:[0-9a-f]{1,4}\) ; [0-9a-f]{1,2}:[0-9a-f]{4} ; [0-9a-f]{4,5} ;[0-9a-f]{4,5} ;[0-9a-f]{1,2}:[0-9a-f]{1,4}
Addresses of sections will now be added to the linkerscript via `org`, and the section name will be the path/to/file. If there is more than one section in the file, then add a @SectionName after the path/to/file to describe the section.
This makefile can now figure graphics dependencies on its own, creates dependency files for each compilation unit and compiles everything separately. This is a proposal. Please try it out, read the Makefile to see if you get what I'm trying to do, and propose any improvements you want.