Files
rgbds/test/asm/update-refs.sh
mid-kid c63af05427 Allow linker script to consider section attributes
The linker script now allows you to assign a section with the same
attributes as in the source.
To do this, I've removed a check from AssignSectionAddressAndBankByName
that would never be triggered, due to that condition being checked
before. Shouldn't this and IsSectionSameTypeBankAndAttrs be condensed
into a single function?
2019-01-18 12:37:23 +01:00

11 lines
130 B
Bash
Executable File

#!/bin/sh
fname=$(mktemp)
for i in *.asm; do
../../rgbasm $i >$fname 2>&1
mv -f $fname ${i%.asm}.out
done
rm -f $fname
exit 0