1 2 3 4 5 6 7 8
define subdir old-path := $$(path) path := $$(old-path)/$1 include $1/build.mk path := $$(old-path) endef