aboutsummaryrefslogtreecommitdiff
path: root/tests/compiler/makefile
diff options
context:
space:
mode:
Diffstat (limited to 'tests/compiler/makefile')
-rw-r--r--tests/compiler/makefile18
1 files changed, 18 insertions, 0 deletions
diff --git a/tests/compiler/makefile b/tests/compiler/makefile
new file mode 100644
index 0000000..5a63fc8
--- /dev/null
+++ b/tests/compiler/makefile
@@ -0,0 +1,18 @@
+# file : tests/compiler/makefile
+# author : Boris Kolpackov <boris@codesynthesis.com>
+# copyright : Copyright (c) 2009 Code Synthesis Tools CC
+# license : MIT; see accompanying LICENSE file
+
+include $(dir $(lastword $(MAKEFILE_LIST)))../../build/bootstrap.make
+
+tests := traversal
+
+default := $(out_base)/
+test := $(out_base)/.test
+clean := $(out_base)/.clean
+
+$(default): $(addprefix $(out_base)/,$(addsuffix /,$(tests)))
+$(test): $(addprefix $(out_base)/,$(addsuffix /.test,$(tests)))
+$(clean): $(addprefix $(out_base)/,$(addsuffix /.clean,$(tests)))
+
+$(foreach t,$(tests),$(call import,$(src_base)/$t/makefile))