aboutsummaryrefslogtreecommitdiff
path: root/tests/include/makefile
blob: 02502281b7c0fcbdbab208dd9b161b7c0e91b45e (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
# file      : build/include/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

foo := one

$(call include-once,included,$(foo))
$(call include-once,included,$(foo))

foo := two

$(call include-once,included,$(foo))
$(call include-once,included,$(foo))

foo := one

$(call include-once,included,$(foo))

$(warning $(value %include_once_$(realpath included)%))

.PHONY: h
h:;@: