[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: $(OBJS) not generated
From: |
Paul D. Smith |
Subject: |
Re: $(OBJS) not generated |
Date: |
Sun, 3 Oct 2004 22:40:05 -0400 |
%% Torsten Mohr <address@hidden> 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 <address@hidden> 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