mirror of
https://github.com/gbdev/rgbds.git
synced 2025-11-20 10:12:06 +00:00
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?
11 lines
130 B
Bash
Executable File
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
|