Add a new option: MK_SUB. This changes OUTPUT to become:
OUTPUT/sub-dir/prgnam/