diff options
author | Mike Buland <eichlan@xagasoft.com> | 2006-07-31 08:07:12 +0000 |
---|---|---|
committer | Mike Buland <eichlan@xagasoft.com> | 2006-07-31 08:07:12 +0000 |
commit | 9139f1df4cda80b91ab68e5de27e85eaa4c54682 (patch) | |
tree | 87fadb2618ee8228f7184aa14bfa2b21741e3f49 /src/target.h | |
parent | 113fc467a7170a8a564049c64d1036dd10e6abac (diff) | |
download | build-9139f1df4cda80b91ab68e5de27e85eaa4c54682.tar.gz build-9139f1df4cda80b91ab68e5de27e85eaa4c54682.tar.bz2 build-9139f1df4cda80b91ab68e5de27e85eaa4c54682.tar.xz build-9139f1df4cda80b91ab68e5de27e85eaa4c54682.zip |
I still can't get the pymake file to auto-make the bison and flex .c files, but
besides that everything is looking great. There's only one thing left to parse
and interpret before we can try actually building something.
Diffstat (limited to 'src/target.h')
-rw-r--r-- | src/target.h | 28 |
1 files changed, 28 insertions, 0 deletions
diff --git a/src/target.h b/src/target.h new file mode 100644 index 0000000..667c467 --- /dev/null +++ b/src/target.h | |||
@@ -0,0 +1,28 @@ | |||
1 | #ifndef TARGET_H | ||
2 | #define TARGET_H | ||
3 | |||
4 | #include <stdint.h> | ||
5 | #include "staticstring.h" | ||
6 | |||
7 | class Target | ||
8 | { | ||
9 | public: | ||
10 | Target( const char *sName ); | ||
11 | virtual ~Target(); | ||
12 | |||
13 | const char *getName() | ||
14 | { | ||
15 | return sName; | ||
16 | } | ||
17 | |||
18 | void setRule( const char *sRule ); | ||
19 | |||
20 | virtual void debug(); | ||
21 | |||
22 | private: | ||
23 | StaticString sName; | ||
24 | StaticString sRule; | ||
25 | |||
26 | }; | ||
27 | |||
28 | #endif | ||