Why are targets listed more than once in the output files?