#!/bin/sh
dst=$1
shift
project=${dst#${OUT}/}
project=${project%/*}

as src/${project}/infection.asm \
	-o ${TMP}/${project}/infection \
&& $(OBJDUMP) -d ${TMP}/${project}/infection \
| src/platform/disasm.pl \
	"-identfier=Target::infection" \
	"-last_line_is_ofs=" \
	"$@" > ${dst}
