aboutsummaryrefslogtreecommitdiff
path: root/src/targetfile.cpp
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--src/targetfile.cpp16
1 files changed, 16 insertions, 0 deletions
diff --git a/src/targetfile.cpp b/src/targetfile.cpp
index fee41c9..8f6651e 100644
--- a/src/targetfile.cpp
+++ b/src/targetfile.cpp
@@ -1,5 +1,7 @@
1#include "targetfile.h" 1#include "targetfile.h"
2#include "plugger.h" 2#include "plugger.h"
3#include "rule.h"
4#include "build.h"
3 5
4PluginInterface2(file, TargetFile, Target, "Mike Buland", 0, 1 ); 6PluginInterface2(file, TargetFile, Target, "Mike Buland", 0, 1 );
5 7
@@ -10,3 +12,17 @@ TargetFile::TargetFile()
10TargetFile::~TargetFile() 12TargetFile::~TargetFile()
11{ 13{
12} 14}
15
16void TargetFile::check( Build &bld )
17{
18 printf("Target file checking: %s\n", getName().c_str() );
19
20 Rule *pRule = bld.getRule( getRule() );
21 pRule->execute();
22}
23
24void TargetFile::clean( Build &bld )
25{
26 printf("Target file cleaning: %s\n", getName().c_str() );
27}
28