%% Torsten Mohr <[EMAIL PROTECTED]> writes:

  tm> But this changes my understanding of how "make" works,
  tm> i wrote the rules for SRC and OBJ with the normal "="
  tm> sign, explicitly NOT "=:".

  tm> Did i miss something in the documentation about variable
  tm> expansion in Makefiles?  To my (previous) understanding
  tm> the order of lines with normal assignments ("=") should
  tm> never matter.

No, that's not true.

  tm> It would be great if anybody could give me some hints
  tm> regarding this issue.

Read the GNU make manual section on "How 'make' Reads a Makefile".  This
describes in detail the difference between "immediate" and "deferred"
expansion and shows where in makefiles each takes place.

-- 
-------------------------------------------------------------------------------
 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

Reply via email to