summaryrefslogtreecommitdiff
path: root/Makefile
AgeCommit message (Collapse)Author
2022-01-13Remove berry fixGriffinR
2021-07-02Merge branch 'master' of https://github.com/pret/pokeemeraldluckytyphlosion
2021-07-02Fix modern builds when devkitARM is not in PATH.luckytyphlosion
2021-06-18Fix regex errorPikalaxALT
2021-06-16Symplifi symfilesPikalaxALT
2021-06-16Port symfile implementation from Ruby, FireRedPikalaxALT
2021-06-03Remove debug print statements in Makefile.luckytyphlosion
2021-06-03Fix building with KEEP_TEMPS=1, and NODEP=1.luckytyphlosion
KEEP_TEMPS=1 not working was due to the pattern substitution in the old makefile rules for compiling C files ($*) not working with the explicit generation of dependencies. NODEP=1 not working was due to the NODEP rule for src/%.s not being updated to use preproc and cpp.
2021-06-01Fixes to makefile.luckytyphlosion
Merge C_ASM_DEP and DATA_ASM_DEP, NODEP and SCAN_DEPS can be overridden, add --no-print-directory to MAKEFLAGS in make_tools.mk (also removed some unused variables), add newline to help message in preproc.
2021-06-01Merge branch 'master' of https://github.com/pret/pokeemerald into remove-tempsluckytyphlosion
2021-06-01Optimize Makefile.luckytyphlosion
Don't do recursive makes for COMPARE and MODERN, use minimal makefile for making tools.
2021-05-23Merge branch 'master' of https://github.com/pret/pokeemeraldluckytyphlosion
2021-05-05Tidy just cleans both normal and modern.luckytyphlosion
2021-05-04Scan all deps of time, also prevent deps from being scanned twice for ↵luckytyphlosion
compare and modern.
2021-04-17Makefile: use different linker library sets for modernMichael Panzlaff
2021-04-17modern: link against libnosysMichael Panzlaff
Without libnosys undefined references will occur if libc functions are used.
2021-04-17Makefile: resolve libgcc and libc in correct orderMichael Panzlaff
When actually utilizing functions from libc, linking will fail because the functions used from libc have to be defined after libc. This is the case with libgcc, so we swap their order.
2021-01-29Add comments for some data in crt0.sGriffinR
2021-01-27Fix templess builds from not exiting on error.luckytyphlosion
2021-01-19Don't keep temporary C build files by default.luckytyphlosion
2021-01-04Fix $(AR) define, remove \u warns on macOS.luckytyphlosion
2020-12-16[Round 3] Apply all source related changes for the new INSTALL.md in one commit.luckytyphlosion
2020-12-16[Round 3] Revert multiple source change commits for re-commit.luckytyphlosion
2020-12-16Don't define CPP until MODERN is defined.luckytyphlosion
2020-12-16[Round 2] Apply all source related changes for the new INSTALL.md in one commit.luckytyphlosion
2020-12-16[Round 2] Revert multiple source change commits for re-commit.luckytyphlosion
2020-12-16Use arm-none-eabi-cpp for modern.luckytyphlosion
2020-12-16Fix modern builds.luckytyphlosion
We actually need standard includes for modern.
2020-12-16Check for $(TOOLCHAIN) before checking for $(TOOLCHAIN)/binluckytyphlosion
if TOOLCHAIN is blank, wildcard can still detect the `/bin` directory.
2020-12-16Apply all source related changes for the new INSTALL.md in one commit.luckytyphlosion
For people who want to have dkPless builds in their repo.
2020-12-16Remove redundant modern CFLAGSGriffinR
2020-12-10Merge remote-tracking branch 'upstream/master' into berry_crushKurausukun
2020-11-18Remove useless comment.luckytyphlosion
2020-11-18Optimize Makefile, also add *.sna to gitignore.luckytyphlosion
2020-11-12Missing inc files in asm/*.s and data/*.s will raise an actual error message.luckytyphlosion
2020-10-26Merge branch 'master' into revertsaaaaaa123456789
2020-10-05Remove *.rl in make cleanExpoSeed
2020-09-16Convert to -g; will be required for eliminating fakematches.Kaz
2020-09-13Undo PokeCodec's PRsaaaaaa123456789
This commit undoes most of PokeCodec's PRs after the debate in chat. Some harmless or completely superseded PRs have been left alone, as there is not much benefit in attempting to undo them. Reverts #1104, #1108, #1115, #1118, #1119, #1124, #1126, #1127, #1132, #1136, #1137, #1139, #1140, #1144, #1148, #1149, #1150, #1153, #1155, #1177, #1179, #1180, #1181, #1182 and #1183.
2020-09-08Reverted -nostdlib changesPokeCodec
2020-07-08Merge pull request #1078 from GriffinRichards/move-criesPikalaxALT
Move Pokemon cries to own directory
2020-07-05fix aggressive loop optimizationsMichael Panzlaff
Previously, aggressive loop optimizations with a new compiler were not possible due to undefined behaviour at end of arrays. A macro "UBFIX" is added to allow ifdefs for fixes which resolve undefined behavior. For example newer GCC versions will detect various bugs in the original game code and will otherwise not compile with -Werror.
2020-06-15Move Pokemon cries to own directoryGriffinR
2020-05-15Fix building modern from cleanPikalaxALT
2020-05-05Fix MODERN=1 for non-devkitARM compilationMichael Panzlaff
gcc has this nice option "-print-file-name=" to locate a file in its search path. This is a more portable way to locate libgcc.a and libc.a so there is no longer the need to mess around with devkitARM's path's.
2020-02-16Port librfu from fireredPikalaxALT
2019-09-27Clean up leftover Makefile clean instructionPikalaxALT
2019-09-08Fix modernPikalaxALT
2019-09-08libagbsyscall as an actual libPikalaxALT
2019-09-08Move gflib srcs and headers to gflib subdirPikalaxALT