This uses catch-all files like main.asm to reduce the total quantity and size of
build objects (from 1.1 GB to 70 MB).
---------
Co-authored-by: Rangi <35663410+Rangi42@users.noreply.github.com>
* Fully labelled bank09.asm, started bank03.asm
* Finished labelling bank03.asm and bank0b.asm
* Tying up loose ends, splitting most of the completely labelled bank dumps
* Moved pokedex letter graphics out of charmap
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.
- Lowercase hex literals
- Lowercase rgbasm keywords (rept, endr)
- Use decimal literals by default, binary when bits are meaningful; hex indicates that it needs further review, e.g. to define a constant
- Tabs, not spaces
- Newline at end of file (rgbds sometimes complains otherwise)
- Doc comments underneath function names
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.