Cross compile Gattlib for openwrt

Hello, I like to cross compile Gattlib ( GitHub - labapart/gattlib: Library to access GATT information from BLE (Bluetooth Low Energy) devices).
Can anybody help me to get it done right ? Looking for a good makefile so i can integrate in in the Toolchain of openwrt. Of course i'm willing to pay a little fee for your time.