.SUFFIXES: .cc .sh .mpu
.cc.sh:
	mpp $*.cc | acca >$*.sh
.sh.mpu:
	sh $*.sh | mpuclean -L >$*.mpu
JUNK	= kj.sh test1.sh test1.mpu

test1: test1.mpu
	inst -d30 10=1 >$@
	cntl -d30 2,1=0 2,2=0 2,4=0 3,1=0 3,2=0 3,4=0 >>$@
	tempo -f1.2 <test1.mpu | mpuclean >>$@

cleanup:
	rm -f $(JUNK)

tap1:
	echo "00 90 0 40 1 90 0 0 77 f9" | axtobb >$@
