I installed the g2 graphical library on my mac using the terminal for a school assignment and now that I'm done with it I'd like to know how to remove it. Are there like commands I can run on the terminal? Are all the files in one folder and all I have to do is delete that folder?
I'm very picky when it comes to these things and if I can't delete it I'll probably end up reinstalling the whole OS (I know I'm crazy) so any help is appreciated.
Also if this is not the right place to post this question I'd appreciate it if you could point me in the right direction.
Thank you!
EDIT 1: I installed the library by following these instructions:
Extract package with gzip -dc g2-xxxx.tar.gz | tar xvf -
Run './configure'
Run 'make depend'
Optionally edit src/g2_config.h to fine-tune g2 behavior (only if you know what are you doing)
Run 'make'
Run 'make install' or copy libg2.a and g2.h, g2_X11.h, g2_gd.h, and g2_PS.h to the default locations for library and include files.
cd to demo directory and run 'make demo' to compile demo applications
To rebuild documentation run 'make doc' (html, PS and pdf manual should be already included into documentation).
EDIT 2: I ran the command suggested by @scottishwildcat in his answer below and got the following output:
Makefile:101: warning: overriding commands for target `libg2.so'
Makefile:98: warning: ignoring old commands for target `libg2.so'
make: *** No rule to make target `uninstall'. Stop.