I've also added LDFLAGS. I usually put non-system libraries I'm linking to in CPPFLAGS, but after a quick web search LDFLAGS seems more appropriate.
Reply
Who am I?
Samat Jain is co-founder of a web services company based in his hometown, Rhombic Networks, LLC, where he currently serves as CTO, system administrator, and programmer.
If you like his site, please leave a comment on your favorite posting, or contact Samat and let him know!
CPPFLAGS fixed
Thanks for noticing the error with CPPFLAGS!
I've also added LDFLAGS. I usually put non-system libraries I'm linking to in CPPFLAGS, but after a quick web search LDFLAGS seems more appropriate.