LIBS directives are usually

-L path -l libraryname

Cheers,
_