build/pymake/tests/default-goal.mk
author Simon Sapin <simon.sapin@exyr.org>
Tue, 06 Jun 2017 08:13:39 -0700
changeset 1150023 c6508a9f0fb5f1648b37f299be7f3e481cb26c31
parent 130887 dc4345aeb64cf3b3aa2c3f14aac3697d2ece71c3
permissions -rw-r--r--
servo: Merge #17185 - Fix some "unused" warnings (from servo:unused); r=emilio Source-Repo: https://github.com/servo/servo Source-Revision: 87005a0df33531995635728989c929572de429e7

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