]> git.tdb.fi Git - builder.git/blobdiff - source/executable.h
Rework the Target class hierarchy
[builder.git] / source / executable.h
index 52b0ceedd2cf4adb62d78df66b2c18e920bc0c16..0dc4fc5223b0f671af15901397af594a63dc6679 100644 (file)
@@ -1,22 +1,20 @@
+/* $Id$
+
+This file is part of builder
+Copyright © 2009  Mikko Rasa, Mikkosoft Productions
+Distributed under the LGPL
+*/
+
 #ifndef EXECUTABLE_H_
 #define EXECUTABLE_H_
 
-#include "target.h"
+#include "binary.h"
 
-class Component;
-class ObjectFile;
-
-class Executable: public Target
+class Executable: public Binary
 {
 public:
        Executable(Builder &, const Component &, const std::list<ObjectFile *> &);
-       const char *get_type() const { return "Executable"; }
-       void find_depends() { }
-       Action *build();
-private:
-       const Component &comp;
-
-       static std::string generate_target_name(const Component &);
+       virtual const char *get_type() const { return "Executable"; }
 };
 
 #endif