Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Handwritten asm files and small bugfixes in building #661

Merged
merged 5 commits into from
Aug 17, 2024

Conversation

laqieer
Copy link
Contributor

@laqieer laqieer commented Aug 17, 2024

  • Move handwritten assembly source files from asm/ to src/, which needn't decomp because they are not written by C at first, not to confuse the calculation of decomp progress
    • crt0.s: C runtime (CRT), ROM header splitted to rom_header.s
    • m4a_1.s: MP2k engine
    • libagbsyscall.s: BIOS syscall library
  • Bugfixes in Makefile
    • Issue: leftover object files are never cleaned
      • Reason: corresponding source files are removed or renamed
      • Solution: search and remove leftovers in the last step of make clean
    • Issue: unnecessary step to recompress texts in make clean or make tag
      • Reason: .d files (automatically created dependency files) are included by the Makefile, they must exist for any target to be made, including clean and tag, and .dep/src/msg_data.d depends on src/msg_data.c depends on msg_list.txt
      • Solution: not include those .d files in make clean and make tag by comparing with MAKECMDGOALS

@RevoSucks RevoSucks merged commit b7b95d8 into FireEmblemUniverse:master Aug 17, 2024
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.

2 participants