
XA=xa

all: boot c64rom ktest

c64 c64rom:
	(cd ..; ${MAKE};)

boot: boot.a65
	${XA} boot.a65 -o boot

slip:
	(cd ../../../apps/slip/; ${MAKE};)
	mv ../../../apps/slip/slip .

clean:
	rm -f c64rom boot slip test test2 ktest

tar ../boot.tgz: boot c64rom loader charom index.html slip howto.boot
	tar czvf ../boot.tgz boot c64rom loader charom index.html slip howto.boot

ktest: ktest.a65
	(XAINPUT=../../../; export XAINPUT; ${XA} -DSTDIOADDR=53248 -DKERNEL=61440 ktest.a65 -o ktest)

ttest2: test2.a65
	(XAINPUT=../../../; export XAINPUT; ${XA} -DSTDIOADDR=53248 -DKERNEL=61440 test2.a65 -o test2)

test: test.a65
	(XAINPUT=../../../; export XAINPUT; ${XA} -R -DSTDIOADDR=53248 test.a65 -o test)

