diff options
Diffstat (limited to '')
-rw-r--r-- | src/targetfile.cpp | 16 |
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 | ||
4 | PluginInterface2(file, TargetFile, Target, "Mike Buland", 0, 1 ); | 6 | PluginInterface2(file, TargetFile, Target, "Mike Buland", 0, 1 ); |
5 | 7 | ||
@@ -10,3 +12,17 @@ TargetFile::TargetFile() | |||
10 | TargetFile::~TargetFile() | 12 | TargetFile::~TargetFile() |
11 | { | 13 | { |
12 | } | 14 | } |
15 | |||
16 | void 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 | |||
24 | void TargetFile::clean( Build &bld ) | ||
25 | { | ||
26 | printf("Target file cleaning: %s\n", getName().c_str() ); | ||
27 | } | ||
28 | |||