title: Creating a Makefile that includes a header only library
body: <p>This is my first c++ program, and also my first time creating a Makefile so im very unfamiliar with it all.</p>
  
  <p>I have my main file raytracer.cpp that includes the glm library like this:</p>
  
  <pre><code>#include "glm/glm.hpp"
  </code></pre>
  
  <p>raytracer.cpp and the glm directory are in the the same directory.</p>
  
  <p>How can I create a makefile for this project?</p>
  
  <p>The <a href="http://glm.g-truc.net/0.9.2/api/a00001.html" rel="nofollow">glm library</a> is a header only library. So do I have to compile all the files in the glm directory? Or just the glm.hpp?</p>