mirror of
https://github.com/pret/pokegold.git
synced 2026-06-01 01:34:57 -05:00
17 lines
549 B
Bash
Executable File
17 lines
549 B
Bash
Executable File
#!/bin/sh
|
|
# Finds asm sources that aren't included in the build
|
|
|
|
# top-level sources listed in Makefile
|
|
toplevel='audio.asm data/text/common.asm data/pokemon/dex_entries.asm wram.asm
|
|
main.asm home.asm gfx/sprites.asm gfx/pics_gold.asm gfx/pics_silver.asm
|
|
data/maps/map_data.asm engine/overworld/events.asm'
|
|
|
|
for asm in $toplevel; do
|
|
echo "$asm"
|
|
python tools/scan_includes.py "$asm"
|
|
echo
|
|
done | tr ' ' '\n' | sort -u > includes.txt
|
|
git ls-files | grep '\.asm$' | sort -u > sources.txt
|
|
comm -23 sources.txt includes.txt
|
|
rm sources.txt includes.txt
|