On Mon, Mar 10, 2014 at 10:37:27AM +0100, LEVAI Daniel wrote:
> Hi!
> 
> I have this Makefile in a source that has the usual `?=' conditional
> assignments, but for the CFLAGS and LDFLAGS variables too. I see that
> make(1) reads /usr/share/mk/sys.mk first, and that defines those two, so
> this won't fly with base make(1) because it leaves them out of the game.
> 
> Are there other solutions for this, except patching these away in the
> Makefile?

Yes. Pass them on as command line args to make. This will supersede
anything.  Read make(1), again and again.

That's the basic usability feature of make.

Reply via email to