Profile
Achievement
michaelaskew's Recent Snippets
- All /
« Prev 1 Next »
Make (and GMake) ignore spaces in many constructs, making it difficult to use a single space as a search string or a replacement string, for example. This trick works around the problem by assigning the space to a variable named SPACE and using that...
1
953
posted 14 years ago by michaelaskew
This rule lets you print the contents of any variable for debugging purposes. Usage:
> gmake echo_SOURCES
SOURCES = main.c foo.c
1
894
posted 14 years ago by michaelaskew