aboutsummaryrefslogtreecommitdiff
path: root/mk
diff options
context:
space:
mode:
authorGravatar Trevor Elliott <trevor@galois.com>2013-05-16 17:32:06 -0700
committerGravatar Trevor Elliott <trevor@galois.com>2013-05-16 17:32:06 -0700
commit32b384124263d165337ff0b3b2c9f5aae51f3e93 (patch)
tree64110bedf9c21ee22120f477164ba3073b531f01 /mk
parent6c1da997ae8ad3c92aea5d5bfc07165c603f0055 (diff)
Helpful debugging target
Diffstat (limited to 'mk')
-rw-r--r--mk/util.mk4
1 files changed, 4 insertions, 0 deletions
diff --git a/mk/util.mk b/mk/util.mk
index cbc3afe..a92b29a 100644
--- a/mk/util.mk
+++ b/mk/util.mk
@@ -26,3 +26,7 @@ quiet_cmd_copydir = CPDIR $(call drop-prefix,$@)
quiet_cmd_cp = CP $(call drop-prefix,$@)
cmd_cp = cp $< $@
+
+
+print-%:
+ @echo "$* = $($*)"