I'm not sure how one can illegally make a gun in Texas.
Under Texas Law, it is only illegal to make a zip gun. All other guns can be legally made.
"Zip gun" means a device or combination of devices that was not originally a firearm and is adapted to expel a projectile through a smooth-bore or rifled-bore barrel by using the energy generated by an explosion or burning substance.