1
0
mirror of https://github.com/fachat/xa65.git synced 2024-11-15 23:05:30 +00:00
xa65/xa/tests/relocundef/Makefile

31 lines
719 B
Makefile
Raw Normal View History

2011-12-16 22:04:51 +00:00
default: all
all: a.o65 b.o65 compare
2011-12-16 22:04:51 +00:00
a.o65: test1.o65
@echo "********* This should give a warning about an undefined relocation table entry"
../../reloc65 -X test1.o65
../hextool a.o65 > a.o65.hex
2011-12-16 22:04:51 +00:00
b.o65: test2.o65
@echo "********* This should NOT give a warning"
../../reloc65 -X -o b.o65 test2.o65
../hextool b.o65 > b.o65.hex
2011-12-16 22:04:51 +00:00
test1.o65: test1.a65
../../xa -R -Lundefl -Ll2 -o test1.o65 test1.a65
../hextool test1.o65 > test1.o65.hex
2011-12-16 22:04:51 +00:00
test2.o65: test2.a65
../../xa -R -o test2.o65 test2.a65
../hextool test2.o65 > test2.o65.hex
compare:
../hextool -cmp=a.ok < a.o65
../hextool -cmp=b.ok < b.o65
2011-12-16 22:04:51 +00:00
clean:
rm -f test1.o65 a.o65 test1.o65.hex a.o65.hex
rm -f test2.o65 b.o65 test2.o65.hex b.o65.hex