I am trying to link a Library to my C program but I can't make it work
according to the library doc https://jansson.readthedocs.io/en/latest/gettingstarted.html#compiling-and-installing-jansson all I have to do is put
pkg-config --cflags --libs jansson
after GCC in the Makefile, but I get the following error :
make -C pkg-config --cflags --libs jansson
src
make: invalid option -- '/'
make: invalid option -- 'u'
make: invalid option -- '/'
Usage: make [options] [target] ...