List Info

Thread: Is it possible to change the variable value in the command section




Is it possible to change the variable value in the command section
user name
2006-09-09 12:13:45
"Maximus" <maximusmicrosoft.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 <psmithgnu.org>          Find
some GNU make tips at:
 http://www.gnu.org        
             http://make.paulandlesl
ey.org
 "Please remain calm...I may be mad, but I am a
professional." --Mad Scientist
_______________________________________________
help-gnu-utils mailing list
help-gnu-utilsgnu.org

http://lists.gnu.org/mailman/listinfo/help-gnu-utils
[1]

about | contact  Other archives ( Real Estate discussion Medical topics )