projects
/
ghc-hetmet.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
ext-core: twiddle primitive things
[ghc-hetmet.git]
/
mk
/
boilerplate.mk
diff --git
a/mk/boilerplate.mk
b/mk/boilerplate.mk
index
8e4f322
..
0e7e752
100644
(file)
--- a/
mk/boilerplate.mk
+++ b/
mk/boilerplate.mk
@@
-22,6
+22,15
@@
FPTOOLS_TOP := $(TOP)
# THIS RULE MUST REMAIN FIRST!
default: all
# THIS RULE MUST REMAIN FIRST!
default: all
+#------------------------------------------------------------
+# Makefile debugging
+# to see the effective value used for a Makefile variable, do
+# make show VALUE=MY_VALUE
+#
+
+show:
+ @echo '$(VALUE)="$($(VALUE))"'
+
# -----------------------------------------------------------------------------
# Misc bits
# -----------------------------------------------------------------------------
# Misc bits