Use simply expanded variables
They are faster since they are evaluated only once, and in this case that's all we need.
This commit is contained in:
Родитель
38b7a730db
Коммит
16ae64e1de
6
Makefile
6
Makefile
|
@ -1,4 +1,4 @@
|
|||
OS = $(shell uname)
|
||||
OS := $(shell uname)
|
||||
V ?= 0
|
||||
CONFIGURATION = Debug
|
||||
MSBUILD = xbuild /p:Configuration=$(CONFIGURATION) $(MSBUILD_ARGS)
|
||||
|
@ -29,8 +29,8 @@ prepare::
|
|||
|
||||
ifeq ($(OS),Linux)
|
||||
UBUNTU_DEPS = libzip4 curl
|
||||
LINUX_DISTRO = $(shell lsb_release -i -s || true)
|
||||
LINUX_DISTRO_RELEASE = $(shell lsb_release -r -s || true)
|
||||
LINUX_DISTRO := $(shell lsb_release -i -s || true)
|
||||
LINUX_DISTRO_RELEASE := $(shell lsb_release -r -s || true)
|
||||
|
||||
prepare:: linux-prepare-$(LINUX_DISTRO) linux-prepare-$(LINUX_DISTRO)-$(LINUX_DISTRO_RELEASE)
|
||||
|
||||
|
|
Загрузка…
Ссылка в новой задаче