title: How to build jansson using premake?
body: <p>I am trying to build <a href="https://jansson.readthedocs.org/en/2.2/apiref.html" rel="nofollow">jansson</a> C library using premake.</p>
  
  <p>The designers of the library require us to:</p>
  
  <ul>
  <li>./configure</li>
  <li>make</li>
  <li>make install</li>
  </ul>
  
  <p>the above steps generates jansson_config.h that is needed for the build.</p>
  
  <p>What I want to do is:</p>
  
  <ul>
  <li>./configure</li>
  <li>premake4 gmake</li>
  <li>make </li>
  </ul>
  
  <p>What happens when I do that is that the build fails saying that jansson_config.h is missing.</p>
  
  <p>How would I be able to achieve what I want?</p>