Changeset View
Changeset View
Standalone View
Standalone View
depends/Makefile
.NOTPARALLEL : | .NOTPARALLEL : | ||||
# Pattern rule to print variables, e.g. make print-build_arch | # Pattern rule to print variables, e.g. make print-build_arch | ||||
print-%: | print-%: | ||||
@echo '$*' = '$($*)' | @echo '$*'='$($*)' | ||||
# When invoking a sub-make, keep only the command line variable definitions | # When invoking a sub-make, keep only the command line variable definitions | ||||
# matching the pattern in the filter function. | # matching the pattern in the filter function. | ||||
# | # | ||||
# e.g. invoking: | # e.g. invoking: | ||||
# $ make A=1 C=1 print-MAKEOVERRIDES print-MAKEFLAGS | # $ make A=1 C=1 print-MAKEOVERRIDES print-MAKEFLAGS | ||||
# | # | ||||
# with the following in the Makefile: | # with the following in the Makefile: | ||||
▲ Show 20 Lines • Show All 234 Lines • Show Last 20 Lines |