title: Simply including SDL header causes linker error
body: <p>I was going to migrate my game from glut to sdl.</p>
  
  <p>It's working perfectly in glut but I wanted to use some sdl features.</p>
  
  <p>So I go into my project properties, under the targets header I click the program that will be compiled, build phases, link binary with libraries, add SDL.framework</p>
  
  <p>The exact same as I have done for OpenGL.framework and GLUT.framework</p>
  
  <p>However when I add: <code>#include &lt;SDL/SDL.h&gt;</code> it comes up with a linker error when I try to build:</p>
  
  <pre><code>Undefined symbols for architecture x86_64:
    "_main", referenced from:
        __start in crt1.o
       (maybe you meant: _SDL_main)
  ld: symbol(s) not found for architecture x86_64
  clang: error: linker command failed with exit code 1 (use -v to see invocation)
  </code></pre>
  
  <p>Googling simply leads to a fair few results, but no real explanations.</p>