help-make
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

How to prevent make from communicating any variable to a submake?


From: Adriano Carvalho
Subject: How to prevent make from communicating any variable to a submake?
Date: Wed, 12 Jun 2013 15:46:27 +0100

Hi,

I have a "module" which uses a variable named CONFIG. In order to build
this module I need to build another partially unrelated "module" which also
uses CONFIG, but with a different value. The problem is that when I try to
build the "sub-module" CONFIG contains the value of the "super-module." I
could specify CONFIG when making the "sub-module" however both modules use
many variables with the same name and trying to specify them all would make
the modules tightly coupled which is something I cannot afford.

A more complete description of the problem can be found here:
http://stackoverflow.com/questions/17050611/how-to-prevent-make-from-communicating-any-variable-to-a-submake

Thank you.

Cheers.
-- 
Adriano Carvalho (ID3978)


reply via email to

[Prev in Thread] Current Thread [Next in Thread]