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
1103
posted 15 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
1012
posted 15 years ago by michaelaskew