Commit 02d233cf authored by Klaus Aehlig's avatar Klaus Aehlig

Add a target to inspect make variables

...this will allow inspecting, e.g., the effective compiler
flags without actually running the compiler. For example,
to see the value of the HFLAGS,

make print-HFLAGS
Signed-off-by: default avatarKlaus Aehlig <aehlig@google.com>
Reviewed-by: default avatarHelga Velroyen <helgav@google.com>
parent 00300562
......@@ -2413,4 +2413,9 @@ really-all: all $(check_SCRIPTS) $(haskell_tests) $(HS_ALL_PROGS)
-include ./Makefile.local
# support inspecting the value of a make variable
print-%:
@echo $($*)
# vim: set noet :
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment