In the link below, the wiki page talks about 给 in this structure.
Subj. + 给 + Target + [Verb Phrase]
https://resources.allsetlearning.com/chinese/grammar/Verbs_preceded_by_%22gei%22
But I don't understand 晚饭妈妈做了面条给我们吃。
The part before 给 is not a subject. Rather, it's a complete sentence. How would you explain this grammar?
Thanks.