Plan 9 from Bell Labs’s /usr/web/sources/contrib/fernan/nhc98/src/prelude/PreludeIO/Makefile.inc
ifeq "" "${MKDIR}" MKDIR:=$(shell pwd) #MKDIR:=$(PWD) else MKDIR:=$(patsubst %/$(notdir ${MKDIR}),%, ${MKDIR}) endif include ${MKDIR}/Makefile.inc