mirror of https://git.wownero.com/dsc/mxe.git
improved portability of the Makefile by avoiding $(lastword ...)
This commit is contained in:
parent
8942950a78
commit
d93044dd06
2
Makefile
2
Makefile
|
@ -9,7 +9,7 @@ VERSION := 2.3
|
|||
PREFIX := $(PWD)/usr
|
||||
PKG_DIR := $(PWD)/pkg
|
||||
TMP_DIR = $(PWD)/tmp-$(1)
|
||||
TOP_DIR := $(patsubst %/,%,$(dir $(lastword $(MAKEFILE_LIST))))
|
||||
TOP_DIR := $(patsubst %/,%,$(dir $(word $(words $(MAKEFILE_LIST)),$(MAKEFILE_LIST))))
|
||||
PATH := $(PREFIX)/bin:$(PATH)
|
||||
SHELL := bash
|
||||
SED := $(shell gsed --version >/dev/null 2>&1 && echo g)sed
|
||||
|
|
Loading…
Reference in New Issue