batch: infer antitargets from targets if necessary