<p>ok this should work now.</p>

<p>tested and works</p>

<hr>

<h4>You can merge this Pull Request by running</h4>
<pre>  git pull https://github.com/opentechinstitute/serval-crypto modularize</pre>
<p>Or view, comment on, or merge it at:</p>
<p>  <a href='https://github.com/opentechinstitute/serval-crypto/pull/4'>https://github.com/opentechinstitute/serval-crypto/pull/4</a></p>

<h4>Commit Summary</h4>
<ul>
  <li>modularized the code for re-use in other programs</li>
  <li>added serval-crypto.h; updated version and Makefiles</li>
  <li>forgot to add common.c</li>
  <li>append to CFLAGS/LDFLAGS</li>
  <li>openwrt requires explicitly linking to argp</li>
</ul>

<h4>File Changes</h4>
<ul>
  <li>
    <strong>M</strong>
    <a href="https://github.com/opentechinstitute/serval-crypto/pull/4/files#diff-0">Makefile</a>
    (27)
  </li>
  <li>
    <strong>M</strong>
    <a href="https://github.com/opentechinstitute/serval-crypto/pull/4/files#diff-1">README.md</a>
    (2)
  </li>
  <li>
    <strong>A</strong>
    <a href="https://github.com/opentechinstitute/serval-crypto/pull/4/files#diff-2">common.c</a>
    (20)
  </li>
  <li>
    <strong>M</strong>
    <a href="https://github.com/opentechinstitute/serval-crypto/pull/4/files#diff-3">openwrt/Makefile</a>
    (4)
  </li>
  <li>
    <strong>A</strong>
    <a href="https://github.com/opentechinstitute/serval-crypto/pull/4/files#diff-4">serval-crypto.h</a>
    (10)
  </li>
  <li>
    <strong>M</strong>
    <a href="https://github.com/opentechinstitute/serval-crypto/pull/4/files#diff-5">sign.c</a>
    (137)
  </li>
  <li>
    <strong>M</strong>
    <a href="https://github.com/opentechinstitute/serval-crypto/pull/4/files#diff-6">verify.c</a>
    (180)
  </li>
</ul>

<h4>Patch Links:</h4>
<ul>
  <li><a href='https://github.com/opentechinstitute/serval-crypto/pull/4.patch'>https://github.com/opentechinstitute/serval-crypto/pull/4.patch</a></li>
  <li><a href='https://github.com/opentechinstitute/serval-crypto/pull/4.diff'>https://github.com/opentechinstitute/serval-crypto/pull/4.diff</a></li>
</ul>