[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Is it possible to change the variable value in the command section
From: |
psmith |
Subject: |
Re: Is it possible to change the variable value in the command section |
Date: |
09 Sep 2006 08:13:45 -0400 |
User-agent: |
Gnus/5.09 (Gnus v5.9.0) Emacs/21.4 |
"Maximus" <maximus@microsoft.com> writes:
> Is it possible to change the variable value in the command section of a make
> file? I have two rules are almost identical with slight differences. I want
> to combine them into one but to invoke them I need to assign a variable in
> the comand section. If it is impossible what is the best way to achieve the
> goal?
Look up target-specific variables in the GNU make manual.
Cheers!
--
-------------------------------------------------------------------------------
Paul D. Smith <psmith@gnu.org> 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