summaryrefslogtreecommitdiff
path: root/Makefile
AgeCommit message (Collapse)Author
2021-12-21Delete build artifacts on clean target (#89)Seth Barberee
* delete build artifacts on clean target * clean out the graphics files too * fix up auto-gen message on pokemon_found and move END_OF_TABLE to actual end of table
2021-12-20Explicitly declare dependencies for generated filesmid-kid
These are harder to pick up automatically, and will only change when the tools are edited, anyway... Any other methods for solving this issue can always be reconsidered later down the line...
2021-12-20Translate all .include to #includemid-kid
This decision was made to reduce the complexity of using .include whilst juggling with tools/scaninc and tools/preproc: - tools/scaninc doesn't apply the proper search rules for .include (it assumes #include behavior). In particular, it doesn't consider paths starting from $PWD, and doesn't scan the included files as a result. - .include had to be processed before #include by preproc in many cases, as code was being included that had to be preprocessed by CPP (think of #define). This contradicts standard GCC behavior. To make include paths consistent across the asm/ data/ and src/ directories, the following files were moved: - constants/ → include/asm/constants/ - asm/macros/ → include/asm/macros/ - asm/macros.inc → include/asm/macros.inc - include/macros/m4a.inc → include/asm/macros/m4a.inc As part of the necessary changes for this to work, the scaninc method in the makefile was improved to generate .d files that don't choke when files are missing.
2021-11-04Disassemble some more tables and the first graphic (#71)mid-kid
* Sync tools/ directory with pokeemerald We really ought to have a central repository for this mess * Make incremental builds faster Scientists hate him! He made NODEP disappear with this ONE SIMPLE TRICK!!! Want to know more? -> __click here__ <- * Disassemble some more tables and the first graphic
2021-10-05Added move data JSON (#60)Cheng Hann Gan
* Added move data JSON * Fixed typo * Fixed name of placeholder move
2021-09-28Created species/item data JSONs (#57)Cheng Hann Gan
* Created species data JSON * Added item data JSON * Removed address field from JSONs -Moved constants/item.h import to item.h. * Used default values for some JSON fields -Use item ID macros for item evolutions.
2021-09-09Defined more in-dungeon structs and enums (#53)Cheng Hann Gan
* Defined DungeonEntity * Rename EntityType enums * Revert EntityType rename * Defined more in-dungeon structs and enums * Added more dungeon global structs/enums * Prefixed dungeonGlobalData with g * Fixed compile errors * Removed some CRLFs * Fixed compile after merge * Revert Makefile * Rename DungeonEntityData.entityType Co-authored-by: Seth Barberee <seth.barberee@gmail.com> * Renamed symbols per PR comments Co-authored-by: Cheng Hann Gan <chenghann_gan@ultimatesoftware.com> Co-authored-by: Seth Barberee <seth.barberee@gmail.com>
2021-07-09Makefile and Install.md Revamp (#41)Seth Barberee
* Makefile: move over to gcc for preproc and ditch cpp * INSTALL: rewrite INSTALL * README: add CI badge * Makefile: make tools build before anything else
2021-06-09Dungeon pokemon/Floor ID JSON Part 1 (#39)Seth Barberee
* move Thunderwave and Tiny Woods pokemon to json * rule tweaking to actually build tool before parsing JSON * delete .inc pokemon for tiny Woods and Thunderwave * silence git complaining about br_ips and ips_patch * use defines for species and pass the header file for species * convert sinister woods * convert MtThunderPeak * convert silent chasm * add trial floor_id w/ tiny woods * change make rule name to fix compile * MtSteel converted and bugfix * convert few floor headers and great canyon pokemon * code cleanup * unify unkData into UnkTextStruct2 * more code cleanup and some text decomp * doc more funcs and decomp/split some stuff * document more save stuff * more save work and move some data * pika sniped UpdateNatureTotal * decomp a litle and convert a few more dungeons * better scanning for json files * mt freeze and peak
2021-04-05Preproc all the data (#35)Seth Barberee
* actually put C files in preproc and use it for formatted type names. Cleaned up makefile like pokeemerald * finish adding all colors and text macros to charmap * preproc all the data and use text macros * move all of wonder_mail_1 to src * unify wonder_mail and wonder_mail_mid * small code cleanup * name two more exclusive pokemon funcs * decomp a few more wonder mail funcs * clean up MemoryFill call * doc more of wonder mail in main menu
2021-01-14switch from build_tools to make toolsSeth Barberee
2020-11-21Fix Windows build (#1)Kermalis
2020-10-20Merge remote-tracking branch 'nullablevoid/master' into masterSeth Barberee
Port m4a from pokeemerald into pmd-red
2020-10-20static-link libagbsyscall similar to pokeemerald... Thx PikaSeth Barberee
2019-08-11Port m4a from pokeemeraldnullableVoidPtr
2019-08-04Add compare to MakefilenullableVoidPtr
2018-11-22Use preprocessor for data asms, clean up sound/ and dump some textnullableVoidPtr
2018-11-20Merge remote-tracking branch 'PikalaxALT/libc'nullableVoidPtr
Added dependency scanning, used standard flags to link libs
2018-11-20Identify, split, decompile m4a, and morenullableVoidPtr
ResetSprites, gCharMemCursor, gSpriteCount; analysed subheaps; identified more file pointers
2018-11-20Renamed primary heap variables and partial cleanup m4a.snullableVoidPtr
2018-11-18Fix makefile and decompile some functions.nullableVoidPtr
Partial memory.c, save.c and bg_palette_buffer.c decompilation, along with some asm/ cleanup.
2018-11-18Makefile overhaulnullableVoidPtr
Addition of a build directory, and more flexible to allow for possible blue build.
2018-01-21Fix WindowsPikalaxALT
2018-01-21Include <string.h> in global.h and add dependency scanningscnorton
2018-01-21Use standard flags to link libc, libgccscnorton
2018-01-03Use libc from agbcc instead of standalone newlib\nYou must have AGBCC commit ↵libcPikalaxALT
80d029caec189587f8b9294b6c8a5a489b8f5f88 in order to compile pmd_red.gba
2017-12-16Link newlibPikalaxALT
2017-12-15Import newlib and create makefilePikalaxALT
2017-12-10initial commitsceptillion