My engineering professional society magazine (IEEE Spectrum) has a nice article about the process of mining and manufacturing oxygen and fuel for future Mars and moon missions here:
https://spectrum.ieee.org/aerospace...obots-to-create-rocket-fuel-from-martian-soil
https://spectrum.ieee.org/aerospace...obots-to-create-rocket-fuel-from-martian-soil