The gist: put this at the top of the Makefile:
MAKEFILE_PATH := $(realpath $(lastword $(MAKEFILE_LIST)))
MAKEFILE_DIR := $(dir $(MAKEFILE_PATH))MAKEFILE_LIST, according to this,
| EMAIL := brew4k@gmail.com | |
| FINGERPRINT := | |
| TEST_INPUT := bernoulli.jpg | |
| TEST_OUTPUT := output.jpg | |
| GPG := /usr/bin/gpg | |
| current: | |
| new: |
The gist: put this at the top of the Makefile:
MAKEFILE_PATH := $(realpath $(lastword $(MAKEFILE_LIST)))
MAKEFILE_DIR := $(dir $(MAKEFILE_PATH))MAKEFILE_LIST, according to this,