If it is made with grain flour:
Brocho before eating this: Borei Minei Mezonos
Brocho after eating the proper shiur of this: Al Hamichya
However, if it's made with corn flour, etc.:
Brocho before eating this: Shehakol Niyeh Bedvoro
Brocho after eating the proper shiur of this: Borei Nefashos
Source: Sefer Sharei Haberacha (page 525)