Changed $< to $^ to make it include all the objects in the list when linking