[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Prerequisite ordering - make 3.81
From: |
Daniel Thom |
Subject: |
Prerequisite ordering - make 3.81 |
Date: |
Mon, 22 Jan 2007 07:08:57 -0800 |
User-agent: |
KMail/1.9.5 |
Hello, I have noticed that the behavior between make 3.80 and 3.81 seems to
have changed with respect to prerequisite ordering of multiply defined
targets in the following scenario:
#############################################################
target: one
target:
@echo "This operation is important. . ."
target: two
one:
@echo "one"
two:
@echo "two"
#############################################################
With make 3.80 I get the following output from processing this makefile:
one
two
This operation is important. . .
With make 3.81 I get this:
two
one
This operation is important. . .
As long as the 'target:' line with the "This operation is important. . ."
statement comes *BEFORE* 'target: two' the behavior is as shown above. If it
is below 'target: two' both versions of make behave the same.
Is this an expected difference between the two versions (I'm guessing it is)?
I did look at the info pages and google around, but I didn't see an answer
for this exact (and very simple) scenario. I'm sure I can work around this
difference, though I need to support multiple versions of make and would
prefer not to kludge this too badly if this is a bug rather than expected
behavior (this is a much simplified example).
Cordially,
-dath
- Prerequisite ordering - make 3.81,
Daniel Thom <=