summaryrefslogtreecommitdiffstats
path: root/build/pymake/tests/eval-duringexecute.mk
blob: dff848032257dd1a430a8c974d714097012c10b1 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
#T returncode: 2

# Once parsing is finished, recursive expansion in commands are not allowed to create any new rules (it may only set variables)

define MORERULE
all:
	@echo TEST-FAIL
endef

all:
	$(eval $(MORERULE))
	@echo done