diff options
author | Boris Nagaev <bnagaev@gmail.com> | 2016-07-04 07:15:02 (GMT) |
---|---|---|
committer | GitHub <noreply@github.com> | 2016-07-04 07:15:02 (GMT) |
commit | b791ffd4e7dd28a7929d7fbe3590a3c921eda4d7 (patch) | |
tree | b624e722e999545407db5460d9521d7da2cf7702 /Makefile | |
parent | 2e12efbfea92f3e72253fdfbeab5148a103fa54f (diff) | |
parent | 0030112958d14b4c9885979d0bc1d7b782e7741f (diff) | |
download | mxe-b791ffd4e7dd28a7929d7fbe3590a3c921eda4d7.zip mxe-b791ffd4e7dd28a7929d7fbe3590a3c921eda4d7.tar.gz mxe-b791ffd4e7dd28a7929d7fbe3590a3c921eda4d7.tar.bz2 |
Merge pull request #1417 from tonytheodore/make-target-specific
Makefile: note use of target-specific variables
Diffstat (limited to 'Makefile')
-rw-r--r-- | Makefile | 3 |
1 files changed, 3 insertions, 0 deletions
@@ -513,6 +513,9 @@ $(PREFIX)/$(3)/installed/$(1): $(PKG_MAKEFILES) \ .PHONY: build-only-$(1)_$(3) +# target-specific variables provide an extra level of scoping so that named +# variables can be used in package build rules: +# https://www.gnu.org/software/make/manual/html_node/Target_002dspecific.html build-only-$(1)_$(3): PKG = $(1) build-only-$(1)_$(3): TARGET = $(3) build-only-$(1)_$(3): BUILD_$(if $(findstring shared,$(3)),SHARED,STATIC) = TRUE |