aboutsummaryrefslogtreecommitdiff
path: root/src/targetfile.cpp
blob: 8f6651ea809632fc35ed62bc2d0c0dcd5530c4e8 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
#include "targetfile.h"
#include "plugger.h"
#include "rule.h"
#include "build.h"

PluginInterface2(file, TargetFile, Target, "Mike Buland", 0, 1 );

TargetFile::TargetFile()
{
}

TargetFile::~TargetFile()
{
}

void TargetFile::check( Build &bld )
{
	printf("Target file checking:  %s\n", getName().c_str() );

	Rule *pRule = bld.getRule( getRule() );
	pRule->execute();
}

void TargetFile::clean( Build &bld )
{
	printf("Target file cleaning:  %s\n", getName().c_str() );
}