1 2 3 4 5 6 7
ifeq "" "${MKDIR}" MKDIR:=$(shell pwd) #MKDIR:=$(PWD) else MKDIR:=$(patsubst %/$(notdir ${MKDIR}),%, ${MKDIR}) endif include ${MKDIR}/Makefile.inc