We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent c897ac0 commit 7a1d726Copy full SHA for 7a1d726
Makefile.in
@@ -159,6 +159,13 @@
159
#
160
# Admittedly this is a little convoluted.
161
162
+# If you find yourself working on the make infrastructure itself, and trying to
163
+# find the value of a given variable after expansion, you can use:
164
+#
165
+# make print-VARIABLE_NAME
166
167
+# To extract it
168
169
# </nitty-gritty>
170
171
mk/util.mk
@@ -16,4 +16,7 @@ else
16
E = echo $(1)
17
endif
18
19
+print-%:
20
+ @echo $*=$($*)
21
+
22
S := $(CFG_SRC_DIR)
0 commit comments