fix target object
add make file for pkg-config