Wrote a method to assemble and order all of the targets that need to be
dealt with based on the target specified (or not specified) on the
command line