DIR := $(dir $(lastword $(MAKEFILE_LIST))) expand_target = $(1) ifeq ($(PAL_HOST),) include $(DIR)/Makefile.Host endif -include $(DIR)/host/$(PAL_HOST)/Makefile.Test