Libplot setup on Mac
First, install XQuartz if you don't already have it.
Next, (assuming you have homebrew installed) run the following command:
brew install plotutils --with-x11
This will install the required libraries.
Finally, add the following before your rules and commands in your makefile for building your application: