I suggest to reuse a higher level build system than your current small [Make file](https://github.com/seenaburns/stag/blob/2ec34a9aef93caa3ca257d60cf982be39a6f5c66/Makefile#L1) so that powerful checks for software features will become easier. - [CMake](http://cmake.org/) - [Autotools](http://www.gnu.org/software/autoconf/#TOCintroduction)