diff options
author | Tony Theodore <tonyt@logyst.com> | 2016-07-04 05:26:13 (GMT) |
---|---|---|
committer | Tony Theodore <tonyt@logyst.com> | 2016-07-04 05:26:13 (GMT) |
commit | 0030112958d14b4c9885979d0bc1d7b782e7741f (patch) | |
tree | e0f48a38d0a5d89e18f13b2672610be2dd3cefb9 /Makefile | |
parent | f82fe5859a567fe5ce6457a96a62092d8f3573e3 (diff) | |
download | mxe-0030112958d14b4c9885979d0bc1d7b782e7741f.zip mxe-0030112958d14b4c9885979d0bc1d7b782e7741f.tar.gz mxe-0030112958d14b4c9885979d0bc1d7b782e7741f.tar.bz2 |
Makefile: note use of target-specific variables
Diffstat (limited to 'Makefile')
-rw-r--r-- | Makefile | 3 |
1 files changed, 3 insertions, 0 deletions
@@ -508,6 +508,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 |