06-25-2018, 09:14 PM
I made a more advanced makefile setup here: https://github.com/shygoo/sm64-c-injection. This setup combines all C objects into a single library and imports it over the padding bytes in ROM / the unused 80370000 area in RAM. It can be configured to load elsewhere by editing this line. (So no need to import over unused functions!)