@ldz libbitcoin, libbitcoin-examples and libbitcoin-test are all produced by the the same MakefileList.txt. They are linked by target_link_libraries. Specifically, they are linked to the library project of the repository by target_link_libraries( <target> ${CANONICAL_LIB_NAME} ).