title: How to implement "make install" in a Makefile?
body: <p>So here's the repo I'm working with: <a href="https://github.com/Garuda1/unixlib" rel="noreferrer">https://github.com/Garuda1/unixlib</a></p>
  
  <p>I'd like to know where my compiled lib (<code>unixlib.a</code>) and where my header (<code>unixlib.h</code>) should be so as to be able to use the lib (under Linux-x86 or Linux-x86_64) simply by compiling with:</p>
  
  <pre><code>$ gcc my_source.c -lunixlib
  </code></pre>
  
  <p>and including the header in <code>my_source.c</code>.</p>
  
  <p>I suppose I add do this to <code>Makefile</code>:</p>
  
  <pre><code>install:
      mv $(NAME).a $(LIB_PATH)
      mv unixlib.h $(HEADER_PATH)
  </code></pre>
  
  <p>but I don't know what <code>$(LIB_PATH)</code> and <code>$(HEADER_PATH)</code> are...</p>