.key prg
if not exists <prg>.asm
  echo "File not found"
  skip end
endif
echo "Compiling"
copy <prg>.asm ram:
copy :PackDevAsm/Include/package.i ram:
:PackDevAsm/c/Asm68k -NL -O ram:<prg>.o -I ram:+:PackDevAsm/Include ram:<prg>.asm
:PackDevAsm/c/Blink ram:<prg>.o to ram:<prg>.pck
copy ram:<prg>.pck to :PackDevAsm/Packages
delete ram:#?
lab end
