diff options
author | Boris Kolpackov <boris@codesynthesis.com> | 2015-03-12 15:43:17 +0200 |
---|---|---|
committer | Boris Kolpackov <boris@codesynthesis.com> | 2015-03-12 15:43:17 +0200 |
commit | cf6b3e34b59ad120111e0c1ead779bbb3a70c38d (patch) | |
tree | 424e9def98c65d9080e72a69064334c6716fb82b /build/algorithm.txx | |
parent | 5925c11a1fe8b2e02b790dd40b031ae005d5b68f (diff) |
Implement clean operation
Diffstat (limited to 'build/algorithm.txx')
-rw-r--r-- | build/algorithm.txx | 5 |
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) |