I suggest to reuse a higher level build system than [your current make script](https://github.com/tenox7/ttyplot/blob/86788618e08505517c506d57a6e04b81adab80e4/Makefile#L1 "Update candidate") so that powerful checks for software features will become easier. - [CMake](https://cmake.org/ "Building software with CMake") - [Autotools](https://www.gnu.org/software/autoconf/autoconf.html#introduction "Building software with Autoconf")