Automatically build tools required to compile#132
Merged
Conversation
biosp4rk
reviewed
Jan 24, 2026
| MAKEFLAGS += --no-print-directory | ||
|
|
||
| TOOLS_DIR := tools | ||
| # Tool executables tu build |
Contributor
Author
|
Oh, also, one advantage this solution has is that it is easily extensible to other tools. We currently only have |
Contributor
Author
|
Ah, btw, this does not automatically extract the data from the ROM. That part was not automatized, and is required to be done before compiling (e.g., Let me know if you would like to have that automatized too, and I'll update the PR. |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Fixes #131.
Heavily inspired by pokeemerald's build process.
I am no Makefile expert by any means, and whatever I used to know is a bit rusty nowadays. So there may be cleaner ways of achieving the same result. But I think this is good enough, and makes the compilation slightly more convenient. I am open to suggestions on how to improve the PR, though.
Also adds support for in-project
agbccinstallation (using itsinstall.shscript), instead of requiring to add agbcc to the$PATH. Either of those options works now. (I find it more convenient.)