"Maximus" <[email protected]> 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 <[email protected]> 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
lmpx.com only provides a reader for public news (NNTP) servers. It is not
affiliated with the servers or forums shown here and is not responsible for
the content of articles, which is written by their respective authors.