title: GCC error: 'for' loop initial declaration used outside C99 mode
body: <p>I'm getting <code>error: 'for' loop initial declaration used outside C99 mode</code> when I try to compile with <code>make</code>. I found a <a href="http://cplusplus.syntaxerrors.info/index.php?title=%27for%27_loop_initial_declaration_used_outside_C99_mode" rel="nofollow">wiki</a> that says</p>
  
  <blockquote>
    <p>Put -std=c99 in the compilation line: <code>gcc -std=c99 foo.c -o foo</code></p>
  </blockquote>
  
  <p>Problem is I don't know how to specify this in <code>make</code>. I opened <em>Makefile</em>, found <code>CC = gcc</code> and changed it to <code>CC = gcc -std=c99</code> with no results. Any ideas?</p>