Please provide Makefile or CMakeLists.txt for your great project. It should have at least CFGLAGS, LDFLAGS and pkg-config functionality.