On Wed, 2007-02-14 at 09:31 +0530, Bhargava Ram wrote: Please CC the help-make mailing list on all email.
> Thanks for the help, but i think simple expansion won't help me. In my > case i will add a variable to target like this : > ABC = > TARGET := $(ABC) $(TARGET) > and ABC will be defined later. Then you're out of luck. All you can do is add a variable to TARGET at the beginning, then add to that; something like: TARGET = $(PRE_TARGET) TARGET += post stuff PRE_TARGET = $(ABC) PRE_TARGET += $(DEF) Etc. > One more thing is If I have some value in TARGET before the statement > it is getting cleared after the statement. Can you help me ? I'm not sure what you mean; can you post an example? Any setting of TARGET (other than +=) will override any previous setting. -- ------------------------------------------------------------------------------- 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 Help-make@gnu.org http://lists.gnu.org/mailman/listinfo/help-make