On Wednesday, 1 November, Aditya Kher ([EMAIL PROTECTED]) wrote: > Is it possible to set value for more than one variable for a given target > ? e.g. > > target_1 : FOO := foo BOO:= boo > target_2 : FOO := foo_1 BOO:= boo_1 > > so that this allows me to set variable values for FOO *and* BOO for > target target_1, target_2 etc.. separately?
No. You have to use different lines. The above cannot work: make always assumes that whatever text appears after the = (or ":=" or whatever) is intended to be the value of the variable. -- ------------------------------------------------------------------------------- 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 _______________________________________________ Help-make mailing list [email protected] http://lists.gnu.org/mailman/listinfo/help-make
