Add target expand-macros to tools.mk from within newly included cpp-extra-targets.mk
Signed-off-by: Jan Lindemann <jan@janware.com>
4 lines
151 B
Makefile
4 lines
151 B
Makefile
all:
|
|
expand-macros:
|
|
make 2>/dev/null | sed '/$(CC)\|$(CPP)/ !d; s/$(CC)\|$(CPP)//; s/-o .*//' | grep -v "Wl\|rdynamic" | xargs $(CPP) -E -C | indent
|
|
|