BASEDIR=$(CURDIR) hello: echo "Hello!" world: echo "$(BASEDIR)"