Skip to content

New and improved make build system and other cleanups#13

Merged
someone2639 merged 18 commits intoHackerN64:mainfrom
ModernN64SDK:cleaning
Aug 24, 2025
Merged

New and improved make build system and other cleanups#13
someone2639 merged 18 commits intoHackerN64:mainfrom
ModernN64SDK:cleaning

Conversation

@CrashOveride95
Copy link
Collaborator

This PR aims to make the build system better with fancy colors, makedepend, and new build targets for building all 3 versions + installing build artifacts
Additionally, I would like to remove remnants of the decomp process that the project no longer needs

… versions under the new build system

This is a holdover from the decomp, as it must support older libultra versions which used these functions; as we're basing this project off of the final 2.0L, they gotta go
Will be removed completely by HackerN64#12 soon enough anyway, but this will break CI if I don't remove this
Based off my personal "template" featuring makedepend and support for automatically building and installing all 3 library versions, along with colors
Still needs cleanup to make sure I've brought over everything from the previous makefile
@CrashOveride95
Copy link
Collaborator Author

This PR is still WIP (I'd like to make sure everything's clean and organized)

@CrashOveride95 CrashOveride95 marked this pull request as ready for review August 23, 2025 20:55
matrix:
version: [L] # [H, I, I_patch, J, K, L]
suffix: [~, _d, _rom]
version: [[libultra, libultra_d, libultra_rom]]

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Remind me what the difference is between _rom and no prefix again (I remember there being no use case for the latter)

Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

libultra_rom and libultra are both compiled with optimizations -Os and have NDEBUG declared. However, libultra_rom also declares _FINALROM, and there are a great many changes made with this flag, including disabling most remaining debugging code (such as assert), printfs, etc

libultra is intended as a middle ground between a completely final retail build and a development build

Copy link

@someone2639 someone2639 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

run python format.py then i can merge

@someone2639 someone2639 merged commit b742894 into HackerN64:main Aug 24, 2025
0 of 3 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants