Hi,

I have a minor problem which can be a bug in make. The problem is that I
try to use MAKEFLAGS to set the
parameter -r (no-builtin-rules) but is seems not to be working.

When I use the script below I expect the -r flag to be working but it
does not work and make searches for a
lot of implicit rules.

When I call the script with the command:
> make -r
it works just as I expect.

This is the script I have been using:
<SCRIPT>
#
# Testing behaviour of MAKEFLAGS
#
MAKEFLAGS:= -r -d

all: test.txt

test.txt:
  touch test.txt
  echo $(MAKEFLAGS)
</SCRIPT>

The version of make that I use is:
w:\code> make -v

GNU Make version 3.78.1, by Richard Stallman and Roland McGrath.
Built for Windows32
Copyright (C) 1988, 89, 90, 91, 92, 93, 94, 95, 96, 97, 98, 99
        Free Software Foundation, Inc.
This is free software; see the source for copying conditions.
There is NO warranty; not even for MERCHANTABILITY or FITNESS FOR A
PARTICULAR PURPOSE.

Report bugs to <[EMAIL PROTECTED]>.

I run Windows95. Is this a bug or is there something that I have not
understood?

Regards,

Jonny

________________________________________________________________
Jonny Eliasson                Telephone +46 31 772 4198
Volvo Technological           Telefax   +46 31 772 4086
Development Corporation       email [EMAIL PROTECTED]
Dept 06200 CTP
SE-412 88 Göteborg

Reply via email to