public function setDepends($depends)
    {
        // explode should be faster than strtok
        $deps = explode(',', $depends);
        for ($i = 0, $size = count($deps); $i < $size; $i++) {
            $trimmed = trim($deps[$i]);
            if ($trimmed === "") {
                throw new BuildException(
                    "Syntax Error: Depend attribute for target " . $this->getName() . " is malformed."
                );
            }
            $this->addDependency($trimmed);
        }
    }