+ {
+ Target *tgt=*i;
+ if(dynamic_cast<Install *>(tgt))
+ tgt=tgt->get_depends().front();
+
+ if(dynamic_cast<ObjectFile *>(tgt))
+ argv.push_back((*i)->get_name());
+ else if(SharedLibrary *shlib=dynamic_cast<SharedLibrary *>(tgt))
+ argv.push_back("-l"+shlib->get_libname());
+ else if(dynamic_cast<StaticLibrary *>(tgt))