1
0
mirror of https://github.com/fachat/xa65.git synced 2024-11-20 11:32:34 +00:00
xa65/xa/tests/ldoreloc/Makefile

25 lines
405 B
Makefile
Raw Normal View History

2011-12-16 22:04:51 +00:00
default: all
2011-12-16 22:04:51 +00:00
all: t
1.o65: 1.s
../../xa -R -c -o 1.o65 1.s
../hextool 1.o65 > 1.o65.hex
2011-12-16 22:04:51 +00:00
2.o65: 2.s
../../xa -R -c -o 2.o65 2.s
../hextool 2.o65 > 2.o65.hex
2011-12-16 22:04:51 +00:00
linked.o65: 1.o65 2.o65
../../ldo65 -o linked.o65 1.o65 2.o65
../hextool linked.o65 > linked.o65.hex
2011-12-16 22:04:51 +00:00
t: linked.o65
../../reloc65 -bt 32768 -xt -o t linked.o65
../hextool t > t.hex
../hextool -cmp=t < t.ok
2011-12-16 22:04:51 +00:00
clean:
rm -f *.o65 *.hex t