all:
@echo wildcard: $(wildcard ~)
@echo shell : $(shell echo ~)
# GNU Make version 3.78.1 (as shipped with RedHat 6.2)
# GNU bash, version 1.14.7(1) (as shipped with RedHat 6.2)
# Here's the output I get:
# 09:00:28 [erich@emerald erich]$ make -f weird
# wildcard: /home/
make version 3.78.1
My Makefile contains exactly three characters -- a backslash, a space, and a
colon.
Typing `make' yields this:
make: read.c:892: read_makefile: Assertion `*p2 != '\0'' failed.
Aborted (core dumped)
For what it's worth, I do not see this behavior with 3.79.1
(I'm reading the manual for version 3.79)
At the end of Node: Multiple Rules, I think it'd be useful to have a
reference to Node: Double-Colon, since double-colon rules are another way to
have multiple rules all with the same target.
Here's how I came across this:
I have a hierarchy of projects