summaryrefslogtreecommitdiffstats
path: root/build/pymake/tests/submake.mk
blob: 41e47134b4d9c15dbb85b549e22cbb2316aaf716 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
#T commandline: ['CVAR=c val=spac\\ed', 'OVAL=cline', 'OVAL2=cline2']

export EVAR = eval
override OVAL = makefile

# exporting an override variable doesn't mean it's an override variable
override OVAL2 = makefile2
export OVAL2

export ALLVAR
ALLVAR = general
all: ALLVAR = allspecific

all:
	test "$(MAKELEVEL)" = "0"
	$(MAKE) -f $(TESTPATH)/submake.makefile2