title: Install a pure C binary when installing a Perl module
body: <p>I have a part of my Perl module written in C. The module uses the C pthreads library. I was first thinking to add the C code to my module using a standard XS wrapper but this seems possible only in Perl 5.22 because of this bug report: <a href="https://rt.perl.org/Public/Bug/Display.html?id=122906" rel="nofollow">https://rt.perl.org/Public/Bug/Display.html?id=122906</a></p>
  
  <p>My C code doesn't really require any interaction with the rest of Perl code. It just reads a file and writes to another file.</p>
  
  <p>In order to not limit my module to Perl 5.22 and up I was thinking about compiling a simple C binary and calling it from my Perl code using <code>system</code>or backticks.</p>
  
  <p>So my question is: Is it possible to add this kind of target to Makefile.PL and if yes how?
  And maybe an input on if this kind of installation process is desirable for a Perl module as I might also just release the C code separately on Github.
  To me it seems logical to install it alongside the Perl module as the C binary has no other use than to work with the Perl module.</p>