I discovered there also exists a 3DS port https://github.com/sm64-port/sm64_3ds. It would be great if these were consolidated to a single repository which users can choose which ROM to compile (or compile both). More importantly it appears that fork is abandoned now while this fork is still being actively maintained. As they are very similar to each other in nature, I think it would make sense to consolidate.