summaryrefslogtreecommitdiffstats
path: root/build/pymake/tests/default-goal.mk
blob: 699d6c0cdcd406d3e485b543898a5f6714a4c8b4 (plain)
1
2
3
4
5
6
7
8
not-default:
	@echo TEST-FAIL did not run default rule

default:
	@echo $(if $(filter not-default,$(INTERMEDIATE_DEFAULT_GOAL)),TEST-PASS,TEST-FAIL .DEFAULT_GOAL not set by $(MAKE))

INTERMEDIATE_DEFAULT_GOAL := $(.DEFAULT_GOAL)
.DEFAULT_GOAL := default