help-make
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Tools for macros expansion?


From: Aleksey Yakovlev
Subject: Tools for macros expansion?
Date: Tue, 20 Apr 2010 17:13:40 -0400

Hello,

I have to work with a somebody-else makefile, which contains multi-line macros with rules inside, like:

define F
$(ABC)/$(1)/$(2)/$(3)/$(4): $(DEF)/$(1)/$(2)/$(3)/$(4)
    ....
endef

which are expanded in $(foreach) loops.

I'd like to look at this makefile with all these macros expanded... Are there any tools for that?

It would be nice to have an option in the GNU make, which does just that. Do you, GNU make developers, by any chance plan to add such an option?

It'd be a great step forward...

Thanks,
Alex


reply via email to

[Prev in Thread] Current Thread [Next in Thread]