Skip to content

Instantly share code, notes, and snippets.

@suside
Last active November 23, 2017 13:44
Show Gist options
  • Save suside/3c9f20afb333f8352fff11466be9e1be to your computer and use it in GitHub Desktop.
Save suside/3c9f20afb333f8352fff11466be9e1be to your computer and use it in GitHub Desktop.
ROOT_DIR:=$(shell dirname $(realpath $(lastword $(MAKEFILE_LIST))))
echo:
echo $(MAKEFILE_LIST)
echo $(lastword $(MAKEFILE_LIST))))
echo $(realpath $(lastword $(MAKEFILE_LIST))))
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment