#include "component.h"
#include "executable.h"
+#include "link.h"
#include "objectfile.h"
#include "package.h"
Target(b, &c.get_package(), generate_target_name(c)),
comp(c)
{
+ buildable=true;
for(list<ObjectFile *>::const_iterator i=objs.begin(); i!=objs.end(); ++i)
add_depend(*i);
}
+Action *Executable::build()
+{
+ return Target::build(new Link(builder, *this, comp));;
+}
+
string Executable::generate_target_name(const Component &comp)
{
string prefix;