aboutsummaryrefslogtreecommitdiff
path: root/tests/frame/makefile
blob: a36321fb501c1e73ebe4843d2a3e3b7db1811992 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
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:;@: