blob: 59c5d7e86872b4070c42ca4b7fe32ec88869bdc5 (
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
29
30
31
32
33
34
35
36
37
38
39
|
#ifndef TARGET_H
#define TARGET_H
#include <list>
#include <string>
#include <stdint.h>
#include "staticstring.h"
class Target
{
public:
Target( const char *sName );
virtual ~Target();
const char *getName()
{
return sName;
}
void setRule( const char *sRule );
virtual void debug();
void addInput( const char *sInput );
void addOutput( const char *sOutput );
virtual void check( class Builder &bld ) = 0;
virtual void clean( class Builder &bld ) = 0;
protected:
StaticString sName;
StaticString sRule;
std::list<std::string> lInput;
std::list<std::string> lOutput;
};
#endif
|