Mail Archives: djgpp-workers/1999/02/23/10:41:52
On Tue, 23 Feb 1999, Salvador Eduardo Tropea (SET) wrote:
> Then make should process argv[0]. After all that's the normal case when
> called from command line and not spawned.
I would prefer to solve a local problem (i.e. backslashes mishandling in
Makefile command lines) locally. This means that the function which
interprets the command lines read from a Makefile should be changed to
not strip the backslashes under some conditions, so that cases like what
you reported would work.
OTOH, what you suggest has a global effect (it changes how the value of
$(MAKE) will look in recursive Make's) which could break something,
somewhere. Who knows, maybe some Makefile out there writes the value of
$(MAKE) to a file and expects it to be with backslashes?
- Raw text -