To get this program to build on Mac OS 10.13 (High Sierra) I needed to do the following steps:
- Install
argp-standalone using Homebrew like so:
brew install argp-standalone
- Add
-I/usr/local/include/ to CFLAGS and -largp to LDFLAGS in the Makefile
- Add
#include <limits.h> to the top of argparser.c
I believe that Step 1 should be mentioned in the README, and that Steps 2 and 3 should be changed in the Makefile and argparser.c respectively.