URL:
<http://savannah.gnu.org/bugs/?17752>
Summary: target fails depending on order of prereqs
Project: make
Submitted by: None
Submitted on: Thursday 09/14/2006 at 20:59 UTC
Severity: 3 - Normal
Item Group: Bug
Status: None
Privacy: Public
Assigned to: None
Open/Closed: Open
Component Version: 3.81
Operating System: POSIX-Based
Fixed Release: None
_______________________________________________________
Details:
Given this makefile:
COPY = foo.cp
BIN = foo
SRC = $(COPY:.cp=.c)
allworks: $(BIN) $(COPY)
allbroken: $(COPY) $(BIN)
$(SRC):
echo 'main(){}' > $@
%.cp: %
cp $< $@
clean:
rm -rf $(SRC) $(COPY) $(BIN)
make allworks -- works on 3.81
make allbroken -- works on 3.80 but does not on 3.81
Is this a feature or bug?
_______________________________________________________
Reply to this item at:
<http://savannah.gnu.org/bugs/?17752>
_______________________________________________
Message sent via/by Savannah
http://savannah.gnu.org/
_______________________________________________
Bug-make mailing list
[email protected]
http://lists.gnu.org/mailman/listinfo/bug-make