/ Published in: Makefile

This rule lets you print the contents of any variable for debugging purposes. Usage:
> gmake echo_SOURCES
SOURCES = main.c foo.c
> gmake echo_SOURCES
SOURCES = main.c foo.c
Expand |
Embed | Plain Text
Copy this code and paste it in your HTML
echo_% : @echo $* = '${$*}'
Comments
