mirror of
https://github.com/Ninjdai1/pokeemerald.git
synced 2025-01-13 07:03:40 +01:00
Symplifi symfiles
This commit is contained in:
parent
5ccac26f26
commit
ae8f6e29f8
4
Makefile
4
Makefile
@ -131,6 +131,8 @@ FIX := tools/gbafix/gbafix$(EXE)
|
|||||||
MAPJSON := tools/mapjson/mapjson$(EXE)
|
MAPJSON := tools/mapjson/mapjson$(EXE)
|
||||||
JSONPROC := tools/jsonproc/jsonproc$(EXE)
|
JSONPROC := tools/jsonproc/jsonproc$(EXE)
|
||||||
|
|
||||||
|
PERL := perl
|
||||||
|
|
||||||
TOOLDIRS := $(filter-out tools/agbcc tools/binutils,$(wildcard tools/*))
|
TOOLDIRS := $(filter-out tools/agbcc tools/binutils,$(wildcard tools/*))
|
||||||
TOOLBASE = $(TOOLDIRS:tools/%=%)
|
TOOLBASE = $(TOOLDIRS:tools/%=%)
|
||||||
TOOLS = $(foreach tool,$(TOOLBASE),tools/$(tool)/$(tool)$(EXE))
|
TOOLS = $(foreach tool,$(TOOLBASE),tools/$(tool)/$(tool)$(EXE))
|
||||||
@ -438,4 +440,4 @@ libagbsyscall:
|
|||||||
###################
|
###################
|
||||||
|
|
||||||
$(SYM): $(ELF)
|
$(SYM): $(ELF)
|
||||||
$(OBJDUMP) -t $< | sort -u | grep -E "^0[2389]" > $@
|
$(OBJDUMP) -t $< | sort -u | grep -E "^0[2389]" | $(PERL) -p -e 's/^(\w{8}) (\w).{6} \S+\t(\w{8}) (\w+)$$/\1 \2 \3 \4/g' > $@
|
||||||
|
Loading…
x
Reference in New Issue
Block a user