Respect CFLAGS, LDFLAGS and CPPFLAGS.
Merge pull request #61 from dimkr/master

Respect CFLAGS, LDFLAGS and CPPFLAGS.