Follow-up Comment #1, bug #18617 (project make):
I would like to piggyback on this enhancement request. I would like to see
some manner of printing out the fully resolved makefile that make processes
after evaluating $(foreach), $(eval), and ($call) functions. For example,
consider this complicated rule, contained within a macro define:
ifdef $(1)_DELIVERY_INCLUDE
DELIVERY_INCLUDE += $$($(1)_DELIVERY_INCLUDE)
$$(foreach file,$$($(1)_DELIVERY_INCLUDE),$$(eval $$(call
delivery_include_rule),$$(file),$$($(1)_INCLUDE_DIR)$$(notdir $(file)))))
endif
Make run with -p just prints the macro define including this, but not the
actual makefile rules it expands to each time it is evaluated. I need to be
able to see what it expands to as an actual rule to see if I didn't make a
mistake somewhere. It would be great if there was a debug option to enable
this behavior.
_______________________________________________________
Reply to this item at:
<http://savannah.gnu.org/bugs/?18617>
_______________________________________________
Message sent via/by Savannah
http://savannah.gnu.org/
_______________________________________________
Bug-make mailing list
[email protected]
http://lists.gnu.org/mailman/listinfo/bug-make