split library/executable