aboutsummaryrefslogtreecommitdiff
path: root/build/algorithm.ixx
diff options
context:
space:
mode:
Diffstat (limited to 'build/algorithm.ixx')
-rw-r--r--build/algorithm.ixx16
1 files changed, 16 insertions, 0 deletions
diff --git a/build/algorithm.ixx b/build/algorithm.ixx
new file mode 100644
index 0000000..02c223c
--- /dev/null
+++ b/build/algorithm.ixx
@@ -0,0 +1,16 @@
+// file : build/algorithm.ixx -*- C++ -*-
+// copyright : Copyright (c) 2014-2015 Code Synthesis Tools CC
+// license : MIT; see accompanying LICENSE file
+
+namespace build
+{
+ void
+ match_impl (target&);
+
+ inline void
+ match (target& t)
+ {
+ if (!t.recipe ())
+ match_impl (t);
+ }
+}