[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: MAKEFLAGS (Was: forcing a rule)
From: |
Boris Kolpackov |
Subject: |
Re: MAKEFLAGS (Was: forcing a rule) |
Date: |
Fri, 2 Apr 2004 16:58:11 -0600 |
User-agent: |
Mutt/1.5.4i |
Hi Noel,
> You missed the MAKEFILES portion of my email.
>
> I haven't tried it, but I'm thinking of something like:
>
> # bootstrap.mk
> ifeq ($(MAKELEVEL),0)
> # re-exec make with new MAKEFLAGS
> endif
It is easy to say "re-exec make with new MAKEFLAGS. How are you
going to reliably achieve this if it's not the only code in the
makefile? What if I say
make foo.o
Also it means that the whole makefile is going to be read before
re-execution. This could be unacceptable like in my case. So the
only viable solution I can see is by bloating every makefile with
if check
include rexec.make
else
#my code
endif
> then set MAKEFLAGS=bootstrap.mk.
Set where? in environment? No, thank you! ;-)
-boris
signature.asc
Description: Digital signature
- Re: forcing a rule, (continued)
- Re: forcing a rule, Boris Kolpackov, 2004/04/02
- Re: forcing a rule, Noel Yap, 2004/04/02
- Re: forcing a rule, Boris Kolpackov, 2004/04/02
- Re: forcing a rule, Noel Yap, 2004/04/02
- Re: forcing a rule, Boris Kolpackov, 2004/04/02
- Re: forcing a rule, Noel Yap, 2004/04/02
- Re: forcing a rule, Boris Kolpackov, 2004/04/02
- Re: MAKEFLAGS (Was: forcing a rule), Noel Yap, 2004/04/02
- Re: MAKEFLAGS (Was: forcing a rule), Boris Kolpackov, 2004/04/02
- Re: MAKEFLAGS (Was: forcing a rule), Noel Yap, 2004/04/02
- Re: MAKEFLAGS (Was: forcing a rule),
Boris Kolpackov <=
- Re: MAKEFLAGS (Was: forcing a rule), Noel Yap, 2004/04/02
- Re: MAKEFLAGS (Was: forcing a rule), Boris Kolpackov, 2004/04/02
- Re: MAKEFLAGS (Was: forcing a rule), Noel Yap, 2004/04/02
- Re: MAKEFLAGS (Was: forcing a rule), Noel Yap, 2004/04/02
- Re: MAKEFLAGS (Was: forcing a rule), Boris Kolpackov, 2004/04/04
- Re: MAKEFLAGS (Was: forcing a rule), Noel Yap, 2004/04/14
- Re: MAKEFLAGS (Was: forcing a rule), Boris Kolpackov, 2004/04/14
- Re: MAKEFLAGS (Was: forcing a rule), Noel Yap, 2004/04/14
- Re: forcing a rule, Paul D. Smith, 2004/04/04
- Re: forcing a rule, Boris Kolpackov, 2004/04/04