Home:ALL Converter>expand macros in makefile

expand macros in makefile

Ask Time:2012-02-29T14:06:25         Author:Xiaotian Pei

Json Formatter

Some makefiles are too large, define lots of macros. It's hard to understand. Is there any tool that can expand macros in makefile and output the new makefile? (Just as the -E option of gcc, which expands the macros in c source file)

Author:Xiaotian Pei,eproduced under the CC 4.0 BY-SA copyright license with a link to the original source and this disclaimer.
Link to original article:https://stackoverflow.com/questions/9494314/expand-macros-in-makefile
yy