+HEXDUMP=xxd
+HEXDUMP=od -A x -x
+
+.SUFFIXES: .asm .obj
+
+all: vendas11.asm
+ @true
+
+.asm.obj:
+ masm $? - bl > $*.listing
+
+vendas11.asm: mapped.asm
+ ./makeasm.pl $? > $@
+
+64kvend.bin: vend.bin
+ dd if=/dev/zero bs=32768 count=1 of=$@
+ cat $? >> $@
+
+check: test
+ @true
+
+test: vendas11.obj 64kvend.bin
+ cmp vendas11.obj 64kvend.bin
+
+x1: vendas11.obj
+ $(HEXDUMP) $? > $@
+
+x2: 64kvend.bin
+ $(HEXDUMP) $? > $@
+
+hex: x1 x2
+ diff -u x1 x2