FileTarget(b, &c.get_package(), generate_target_path(c)),
comp(c)
{
- buildable = true;
for(list<ObjectFile *>::const_iterator i=objs.begin(); i!=objs.end(); ++i)
add_depend(*i);
+
+ if(c.get_type()==Component::LIBRARY)
+ install_location = "lib";
+ else if(c.get_type()==Component::MODULE)
+ install_location = "lib/"+package->get_name();
+ else if(c.get_type()==Component::PROGRAM)
+ install_location = "bin";
}
void Binary::find_depends()