mirror of
https://github.com/fachat/xa65.git
synced 2024-06-01 22:41:32 +00:00
52 lines
1.4 KiB
Makefile
52 lines
1.4 KiB
Makefile
#
|
|
# Makefile for tests
|
|
#
|
|
|
|
XA=../../xa
|
|
|
|
CA65=ca65
|
|
LD65=ld65
|
|
|
|
tests: operatorsx.out assertx.out assertx.html linebreakx.out include1x.out listblocksx.html listca65x.html listca65_2x.html
|
|
|
|
operatorsx.out: operators.a65
|
|
${XA} -P- -o operatorsx.o65 operators.a65 > $@
|
|
../hextool -cmp=operators.out < $@
|
|
|
|
assertx.out: assert.a65
|
|
${XA} -P- -o assertx.o65 assert.a65 > $@
|
|
../hextool -cmp=assert.out < $@
|
|
../hextool -cmp=assert.o65 < assertx.o65
|
|
|
|
assertx.html: assert.a65
|
|
${XA} -P- -Fhtml -o assertx.o65 assert.a65 > $@
|
|
../hextool -cmp=assert.html < $@
|
|
|
|
include1x.out: include1.a65
|
|
${XA} -P- include1.a65 > $@
|
|
../hextool -cmp=include1.out < $@
|
|
|
|
linebreakx.out: linebreak.a65
|
|
${XA} -P- linebreak.a65 > $@
|
|
../hextool -cmp=linebreak.out < $@
|
|
|
|
listblocksx.html: listblocks.a65
|
|
${XA} -P- -Fhtml listblocks.a65 > $@
|
|
../hextool -cmp=listblocks.html < $@
|
|
|
|
listca65x.html: listca65.a65
|
|
${XA} -XCA65 -P- -Fhtml -o listca65x.o65 listca65.a65 > $@
|
|
#${CA65} $>; ${LD65} -t none -o listca65.ca65 listca65.o; rm listca65.o
|
|
../hextool -cmp=listca65.html < $@
|
|
../hextool -cmp=listca65.ca65 < listca65x.o65
|
|
|
|
listca65_2x.html: listca65_2.a65
|
|
${XA} -XCA65 -P- -Fhtml -o listca65_2x.o65 listca65_2.a65 > $@
|
|
#${CA65} $>; ${LD65} -t none -o listca65_2.ca65 listca65_2.o; rm listca65_2.o
|
|
../hextool -cmp=listca65_2.html < $@
|
|
../hextool -cmp=listca65_2.ca65 < listca65_2x.o65
|
|
|
|
clean:
|
|
rm -f *.err *x.out *x.html *x.o65
|
|
|