Question: how elbow macaroni is made?
Answer: Dough is made by hand or with a mixer.
The dough is kneaded until it reaches the correct consistency, and then it is pushed, or extruded, through a die, a metal disk with holes in it. ... 
The shape of the holes in the die governs the shape of the pasta.