jw-pkg/make/cpp-extra-targets.mk
Jan Lindemann 4a6a7b5664 tools.mk: Add target expand-macros
Add target expand-macros to tools.mk from within newly included
cpp-extra-targets.mk

Signed-off-by: Jan Lindemann <jan@janware.com>
2017-11-23 08:42:50 +00:00

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