2011-12-16 22:04:51 +00:00
|
|
|
|
2014-08-20 19:53:15 +00:00
|
|
|
default: all
|
|
|
|
all: a.o65 b.o65 compare
|
2011-12-16 22:04:51 +00:00
|
|
|
|
|
|
|
a.o65: test1.o65
|
2014-08-20 19:53:15 +00:00
|
|
|
@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
|
2014-08-20 19:53:15 +00:00
|
|
|
@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
|
2014-08-20 19:53:15 +00:00
|
|
|
../../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
|
2014-08-20 19:53:15 +00:00
|
|
|
../../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
|
|
|
|
|