aboutsummaryrefslogtreecommitdiff
path: root/tests/makefile
diff options
context:
space:
mode:
Diffstat (limited to 'tests/makefile')
-rw-r--r--tests/makefile18
1 files changed, 18 insertions, 0 deletions
diff --git a/tests/makefile b/tests/makefile
new file mode 100644
index 0000000..ffbd8bd
--- /dev/null
+++ b/tests/makefile
@@ -0,0 +1,18 @@
+# file : tests/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 := compiler shared-ptr
+
+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))