aboutsummaryrefslogtreecommitdiff
path: root/build/algorithm.txx
diff options
context:
space:
mode:
authorBoris Kolpackov <boris@codesynthesis.com>2015-03-12 15:43:17 +0200
committerBoris Kolpackov <boris@codesynthesis.com>2015-03-12 15:43:17 +0200
commitcf6b3e34b59ad120111e0c1ead779bbb3a70c38d (patch)
tree424e9def98c65d9080e72a69064334c6716fb82b /build/algorithm.txx
parent5925c11a1fe8b2e02b790dd40b031ae005d5b68f (diff)
Implement clean operation
Diffstat (limited to 'build/algorithm.txx')
-rw-r--r--build/algorithm.txx5
1 files changed, 3 insertions, 2 deletions
diff --git a/build/algorithm.txx b/build/algorithm.txx
index 4c9a673..1e22be1 100644
--- a/build/algorithm.txx
+++ b/build/algorithm.txx
@@ -18,9 +18,10 @@ namespace build
for (const prerequisite& p: t.prerequisites)
{
- assert (p.target != nullptr);
- target& pt (*p.target);
+ if (p.target == nullptr) // Skip ignored.
+ continue;
+ target& pt (*p.target);
target_state ts (execute (a, pt));
if (!e)