[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: setting a variable only on condition that a rule is applied?
From: |
Paul D. Smith |
Subject: |
Re: setting a variable only on condition that a rule is applied? |
Date: |
Mon, 29 Mar 2004 15:07:26 -0500 |
%% Noel Yap <address@hidden> writes:
ny> Have you tried:
ny> dorule1: RULE_DEPENDENT_VAR += rule1text
ny> dorule2: RULE_DEPENDENT_VAR += rule2text
This won't work because target-specific variables are only passed
downward, to prerequisites, not upward.
ny> I don't think target-specific variables transcend targets, though.
If you meant what I wrote above, then right! :).
--
-------------------------------------------------------------------------------
Paul D. Smith <address@hidden> Find some GNU make tips at:
http://www.gnu.org http://make.paulandlesley.org
"Please remain calm...I may be mad, but I am a professional." --Mad Scientist