aboutsummaryrefslogtreecommitdiff
path: root/build2/bin/rule.hxx
diff options
context:
space:
mode:
Diffstat (limited to 'build2/bin/rule.hxx')
-rw-r--r--build2/bin/rule.hxx18
1 files changed, 4 insertions, 14 deletions
diff --git a/build2/bin/rule.hxx b/build2/bin/rule.hxx
index 4637479..b4835dc 100644
--- a/build2/bin/rule.hxx
+++ b/build2/bin/rule.hxx
@@ -14,22 +14,12 @@ namespace build2
{
namespace bin
{
- class obj_rule: public rule
+ // Fail rule for obj{}, bmi{}, and libu{}.
+ //
+ class fail_rule: public rule
{
public:
- obj_rule () {}
-
- virtual match_result
- match (action, target&, const string&) const override;
-
- virtual recipe
- apply (action, target&) const override;
- };
-
- class bmi_rule: public rule
- {
- public:
- bmi_rule () {}
+ fail_rule () {}
virtual match_result
match (action, target&, const string&) const override;