aboutsummaryrefslogtreecommitdiff
path: root/tests/frame/makefile
diff options
context:
space:
mode:
Diffstat (limited to 'tests/frame/makefile')
-rw-r--r--tests/frame/makefile41
1 files changed, 41 insertions, 0 deletions
diff --git a/tests/frame/makefile b/tests/frame/makefile
new file mode 100644
index 0000000..a36321f
--- /dev/null
+++ b/tests/frame/makefile
@@ -0,0 +1,41 @@
+# file : build/frame/makefile
+# author : Boris Kolpackov <boris@codesynthesis.com>
+# copyright : Copyright (c) 2004-2010 Code Synthesis Tools CC
+# license : GNU GPL v2; see accompanying LICENSE file
+
+include $(dir $(lastword $(MAKEFILE_LIST)))../../build/bootstrap.make
+
+out_dir := foo
+
+%foo% := baz
+
+$(warning $(out_dir))
+
+# $(warning $(call frame-vars))
+
+$(call frame-enter)
+
+out_dir := foz
+src_dir := baz
+
+new := new var
+
+$(call frame-enter)
+
+out_dir := faz
+
+$(warning $(out_dir))
+$(warning $(new))
+
+$(call frame-leave)
+
+$(warning $(out_dir))
+$(warning $(new))
+
+$(call frame-leave)
+
+$(warning $(out_dir))
+$(warning $(new))
+
+.PHONY: all
+all:;@: