How to add coinbase transaction with libblkmaker
To set a generating address, use set_generate_addr. blkmk_init_generation3 may also be what you're looking for.

The author of that library also wrote a miner, BFGMiner, that uses his library. Look at how he calls these libblkmaker function to add a coinbase transaction to the block header in miner.c.