[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
overriding recipe
From: |
Warlich, Christof |
Subject: |
overriding recipe |
Date: |
Tue, 15 Nov 2011 09:25:37 +0100 |
Hi,
is it possible to override a rule without getting the "overriding recipe"
warning?
Some background on why I need that:
I'm having a generic Makefile that includes a User.mk to allow user specific
settings
through variables and rules. The surrounding Makefile basically takes care to
allow
multi-architecture builds as described in
http://mad-scientist.net/make/multi-arch.html.
In this approach make reexecutes itself from a different directory, allowing to
keep
the objects apart from the soures. My problem is that I need to see (some of)
the
variables in User.mk in both of these instances of make, but I need to ignore
any
rules in the initial make instance, allowing that they are only executed in the
second
invocation of make, i.e. when being in the right directory.
Cheers,
Chris
- overriding recipe,
Warlich, Christof <=