Merge pull request #775 from nathanross/install-build-selection

default INSTALL to list of progs
This commit is contained in:
Michael Gehring 2015-12-25 09:22:47 +01:00
commit 84c435cadc

View file

@ -3,8 +3,6 @@ PROFILE ?= debug
MULTICALL ?= n
ifneq (,$(filter install, $(MAKECMDGOALS)))
override PROFILE:=release
override BUILD:=$(INSTALL)
override DONT_BUILD:=$(DONT_INSTALL)
endif
PROFILE_CMD :=
@ -175,11 +173,18 @@ TEST ?= $(TEST_PROGS)
TESTS := \
$(sort $(filter $(TEST),$(filter-out $(DONT_TEST),$(TEST_PROGS))))
INSTALL ?= $(PROGS)
BUSYTEST ?= $(PROGS)
ifneq (,$(filter install, $(MAKECMDGOALS)))
override BUILD:=$(INSTALL)
override DONT_BUILD:=$(DONT_INSTALL)
else
ifneq (,$(filter busytest, $(MAKECMDGOALS)))
override BUILD:=$(BUSYTEST)
override DONT_BUILD:=$(DONT_BUSYTEST)
endif
endif
define BUILD_EXE
build_exe_$(1):