mirror of
https://github.com/pret/pokediamond.git
synced 2024-11-30 09:40:55 +00:00
Add rule for symbols.csv
This commit is contained in:
parent
46ba23a2f5
commit
fb0e6a02ee
3
Makefile
3
Makefile
@ -300,6 +300,9 @@ DUMMY != mkdir -p $(ALL_DIRS)
|
||||
$(BUILD_DIR)/pokediamond_bnr.bin: pokediamond.bsf graphics/icon.4bpp graphics/icon.gbapal
|
||||
$(MAKEBANNER) $< $@
|
||||
|
||||
symbols.csv: arm9 arm7
|
||||
(echo "Name,Location"; grep -P " *[0-9A-F]{8} [0-9A-F]{8} \S+ +\w+\t\(\w+\.o\)" arm9/build/arm9.elf.xMAP arm7/build/arm7.elf.xMAP | sed -r 's/ *([0-9A-F]{8}) [0-9A-F]{8} \S+ +(\w+)\t\(\w+\.o\)/\2,\1/g' | cut -d: -f2) > $@
|
||||
|
||||
### Debug Print ###
|
||||
|
||||
print-% : ; $(info $* is a $(flavor $*) variable set to [$($*)]) @true
|
||||
|
Loading…
Reference in New Issue
Block a user