Hitler ordered the initial preparations for BARBAROSSA in June of 1940, BEFORE the French sued for an armistice. So Russia was always going to be a war objective.
As for the U.S, Hitler probably initially saw that as a more distant opponent, after victory in Europe, consolidation, and further rearmament. But U.S actions, and belligerence [in practice] no doubt moved his calculations forward, and Japan's initial surge probably tipped the scales for then as opposed to later.
thank you Homer for this info. read it daily