Update of bug #23210 (project make):
Status:None = Not A Bug
Open/Closed:Open = Closed
___
Follow-up Comment #3:
The problem is that
URL:
http://savannah.gnu.org/bugs/?23210
Summary: target/dependants with equal mtime
Project: make
Submitted by: None
Submitted on: Thursday 05/08/2008 at 18:46 UTC
Severity: 3 - Normal
Item Group: Bug
Follow-up Comment #1, bug #23210 (project make):
For this makefile:
../libfoo.a: foo1.o
ar rcs ../libfoo.a foo1.o
make is doing what you told it to; the problem is that the makefile doesn't
capture your intent. That makefile says add or update the foo1.o member of
../libfoo.a if
Follow-up Comment #2, bug #23210 (project make):
I can see your point. Your change essentially makes the target in the
target: source rule more specific thus turning foo2.o into an exhaustive
list of things the new more-specified target depends on. Previously one
Makefile said libfoo.a depends