aboutsummaryrefslogtreecommitdiff
path: root/tests/build
diff options
context:
space:
mode:
authorBoris Kolpackov <boris@codesynthesis.com>2015-01-16 14:11:14 +0200
committerBoris Kolpackov <boris@codesynthesis.com>2015-01-16 14:11:14 +0200
commitc106259517d7693ea8e24564bc890fe575d5edcd (patch)
treebbf87f83edeaf60ff3dfa6fff33c6b7504f5318b /tests/build
parentdf50091259a34fa4718f38c0e3b7b64f6e2469ac (diff)
Implement rule chaining for cxx::link
Diffstat (limited to 'tests/build')
-rw-r--r--tests/build/lexer/buildfile9
-rw-r--r--tests/build/path/buildfile1
-rw-r--r--tests/build/prefix_map/buildfile3
3 files changed, 3 insertions, 10 deletions
diff --git a/tests/build/lexer/buildfile b/tests/build/lexer/buildfile
index 06e1f75..2985343 100644
--- a/tests/build/lexer/buildfile
+++ b/tests/build/lexer/buildfile
@@ -1,8 +1 @@
-exe{driver}: obj{driver ../../../build/lexer}
-
-obj{driver}: cxx{driver}
-
-../../../build/:
-{
- obj{lexer}: cxx{lexer}
-}
+exe{driver}: cxx{driver ../../../build/lexer}
diff --git a/tests/build/path/buildfile b/tests/build/path/buildfile
new file mode 100644
index 0000000..c2756b7
--- /dev/null
+++ b/tests/build/path/buildfile
@@ -0,0 +1 @@
+exe{driver}: cxx{driver ../../../build/path}
diff --git a/tests/build/prefix_map/buildfile b/tests/build/prefix_map/buildfile
index dbef7db..a72d02f 100644
--- a/tests/build/prefix_map/buildfile
+++ b/tests/build/prefix_map/buildfile
@@ -1,2 +1 @@
-exe{driver}: obj{driver}
-obj{driver}: cxx{driver}
+exe{driver}: cxx{driver}