[gnu.gcc.bug] Bug in GNU Make 3.05

brooks@maddog.llnl.gov (09/22/88)

GNU Make, version 3.05, does not properly expand environment strings
for a action line of the form
	cp foobar $$HOME/bin
the source of the problem is a failure to recognize and expand shell
environment variables in the code which short stops forks of /bin/sh.
The quickest cure is to add $ to the list of characters which cause
Make to go into slow mode and pass the command line to /bin/sh.
On line 342 of commands.c you will see a definition
	static char sh_chars[] = "#;\"*?[]&|<>(){}=";
just add $ to this list.

An added hint for GNU Make on the Alliant, change the identifier
"vector" in glob.c and read.c to "VeCtOr" and compile it with the
-pcc flag and you will get a parallel Make which works most of the time.