Stripped diff for makefile

This patch allows one to run make outside the source tree
with make -f <makefile>.

Signed-off-by: wolfra <wolfra@users.sf.net>
Signed-off-by: Nigel Croxon <ncroxon@redhat.com>
This commit is contained in:
Nigel Croxon 2017-11-06 09:06:31 -05:00
parent 08a46615c7
commit 15bcddc996
1 changed files with 2 additions and 1 deletions

View File

@ -36,7 +36,8 @@
VERSION = 3.0.6
SRCDIR = $(shell pwd)
MKFILE_PATH := $(abspath $(lastword $(MAKEFILE_LIST)))
SRCDIR = $(dir $(MKFILE_PATH))
VPATH = $(SRCDIR)