diff options
| author | Revo <projectrevotpp@hotmail.com> | 2020-04-19 13:51:03 -0400 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2020-04-19 13:51:03 -0400 |
| commit | 8761dc90e90e8b4fa2c5ace0ad0020724b474bc1 (patch) | |
| tree | a4292e511b2345055b26c2bb8c346f19158bda0d /Makefile | |
| parent | b1c106f3f9ebe54458ccf3c2da6639e4ff21c8e2 (diff) | |
| parent | e7bedf19483f0925e90aefa35f481fb7c3582c0a (diff) | |
Merge pull request #9 from Demki/master
rudimentary matching decompilation of NitroMain
Diffstat (limited to 'Makefile')
| -rw-r--r-- | Makefile | 5 |
1 files changed, 3 insertions, 2 deletions
@@ -82,7 +82,8 @@ OBJCOPY := $(CROSS)objcopy # ./tools/mwccarm/2.0/base/mwasmarm.exe -proc arm5te asm/arm9_thumb.s -o arm9.o ASFLAGS = -proc arm5te -CFLAGS = -O4,p -proc v5te -thumb -fp soft -lang c -Cpp_exceptions off -interworking +CFLAGS = -O4,p -proc v5te -thumb -fp soft -lang c -Cpp_exceptions off +LDFLAGS = -map -nodead -w off -proc v5te -interworking ####################### Other Tools ######################### @@ -117,7 +118,7 @@ $(BUILD_DIR)/$(LD_SCRIPT): $(LD_SCRIPT) undefined_syms.txt $(CPP) $(VERSION_CFLAGS) -MMD -MP -MT $@ -MF $@.d -I include/ -I . -DBUILD_DIR=$(BUILD_DIR) -o $@ $< $(ELF): $(O_FILES) $(BUILD_DIR)/$(LD_SCRIPT) - $(LD) $(BUILD_DIR)/$(LD_SCRIPT) -o $(ELF) $(O_FILES) -map -nodead -w off + $(LD) $(BUILD_DIR)/$(LD_SCRIPT) -o $(ELF) $(O_FILES) $(LDFLAGS) $(ROM): $(ELF) $(OBJCOPY) -O binary $< $@ |
