|
| From: | Tristan Wibberley |
| Subject: | [bug #47715] Implicit rule defined for multiple targets at once only runs one time |
| Date: | Sat, 16 Apr 2016 13:12:46 +0000 |
| User-agent: | Mozilla/5.0 (Windows NT 10.0; WOW64; rv:45.0) Gecko/20100101 Firefox/45.0 |
URL:
<http://savannah.gnu.org/bugs/?47715>
Summary: Implicit rule defined for multiple targets at once
only runs one time
Project: make
Submitted by: codeshot
Submitted on: Sat 16 Apr 2016 01:12:44 PM GMT
Severity: 3 - Normal
Item Group: Bug
Status: None
Privacy: Public
Assigned to: None
Open/Closed: Open
Discussion Lock: Any
Component Version: 4.0
Operating System: POSIX-Based
Fixed Release: None
Triage Status: None
_______________________________________________________
Details:
An implicit rule defined for several targets at once only runs once during any
single make invocation.
This can be seen with the attached Makefile by running `make a/foo.o b/foo.o`
Output:
true
make: Nothing to be done for 'b/foo.o'.
Expected Output:
true
true
Interestingly, `make a/foo.o b/bar.o` produces the expected output.
A critical side effect of this is also that a rule that relies on an implicit
rule can be remade "successfully" even though its prerequisites have not been
updated - which can be confirmed with a more complex makefile.
_______________________________________________________
File Attachments:
-------------------------------------------------------
Date: Sat 16 Apr 2016 01:12:44 PM GMT Name: Makefile Size: 26B By:
codeshot
<http://savannah.gnu.org/bugs/download.php?file_id=36950>
_______________________________________________________
Reply to this item at:
<http://savannah.gnu.org/bugs/?47715>
_______________________________________________
Message sent via/by Savannah
http://savannah.gnu.org/
| [Prev in Thread] | Current Thread | [Next in Thread] |