bugmake - Bugs: bug #7202, From two double-clone pattern...

 
 

bug #7202: From two double-clone pattern rules only the first is fired

Submitted by:  Alon Blayer-Gat <alonbg>
Submitted on:  Mon 12 Jan 2004 11:41:35 AM UTC  
 
Severity: 3 - NormalItem Group: Bug
Status: Not A BugPrivacy: Public
Assigned to: Paul D. Smith <psmith>Open/Closed: Closed
Component Version: 3.80Operating System: POSIX-Based
Fixed Release: NoneTriage Status: None

Add a New Comment(Rich Markup)
   

You are not logged in

Please log in, so followups can be emailed to you.

 

Sun 18 Jan 2004 05:04:13 PM UTC, comment #1:

Double colon pattern rules do not work like double-colon explicit rules. See the GNU make manual section "Match-Anything Pattern Rules".

Paul D. Smith <psmith>
Project AdministratorIn charge of this item.
Mon 12 Jan 2004 11:41:35 AM UTC, original submission:

#The first rule will be invoked eventhough prerequisites are older then the target. The second rule will not fire at all.

$(BIN_BASE)/%:: $(word 1,$(MAKEFILE_LIST))
$(RM)$@

$(BIN_BASE)/%:: %.cc $(LOADLIBES)
$(LINK.cc) $< $(LOADLIBES) $(LDLIBS) -o $@

Alon Blayer-Gat <alonbg>

 

(Note: upload size limit is set to 16384 kB, after insertion of the required escape characters.)

Attach File(s):
   
   
Comment:
   

No files currently attached

 

Depends on the following items: None found

Items that depend on this one: None found

 

CC list is empty

 

Do you think this task is very important?
If so, you can click here to add your encouragement to it.
This task has 0 encouragements so far.

Only logged-in users can vote.

 

Please enter the title of George Orwell's famous dystopian book (it's a date):

 

 

Follow 3 latest changes.

Date Changed By Updated Field Previous Value => Replaced By
Sun 18 Jan 2004 05:04:13 PM UTCpsmithStatusNone=>Not A Bug
  Assigned toNone=>psmith
  Open/ClosedOpen=>Closed

Back to the top


Powered by Savane 3.1-cleanup1