On Mon, Jul 21, 2003 at 10:28:42AM -0600, Ferguson, Neale wrote:
> I have discovered something odd about make's behavior. I have the following
> test case:
I have one quick piece of information that may or may not be relevant:
> Nat
> |-Makefile
> +-/src1
> |-Makefile
> |-x11.c
> |-x12.c
> +-/src2
> |-Makefile
> |-x21.c
> |-x22.c
>
> The toplevel Makefile contains:
>
> all :
> @echo "Process Nat/src1"
> cd src1;$(MAKE) -$(MAKEFLAGS)
> @echo "Process Nat/src2"
> cd src2;$(MAKE) -$(MAKEFLAGS)
You should probably make those: $(MAKE) $(MAKEFLAGS) If $(MAKEFLAGS) is empty
(as it is in your test case), you end up executing "make -" which does not
seem to have any defined behaviour (as in, the - argument is not descibed
anywhere as being valid). I don't think it really ought to make any
difference, but I truly do not know for sure :)
Kris