add source and build static target