* remake.c (update_goal_chain): re-arranged logic so that it makes more sense. After update_file(), the target status is used to handle the goal and possibly remove it from the goal chain. * remake.c (update_file): If -q we can bail as soon as we detect that something needs to be remade.