bugmake - Bugs: bug #7089, directoreis in target of patten...

 
 

bug #7089: directoreis in target of patten and static rules can't be isolated

Submitted by:  Alon Blayer-Gat <alonbg>
Submitted on:  Mon 05 Jan 2004 09:42:33 AM UTC  
 
Severity: 3 - NormalItem Group: Bug
Status: Not A BugPrivacy: Public
Assigned to: NoneOpen/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.

 

Mon 05 Jan 2004 09:52:28 AM UTC, comment #1:

No bug, my bad
Sorry about that

Alon Blayer-Gat <alonbg>
Mon 05 Jan 2004 09:42:33 AM UTC, original submission:

Depend files do not exists. Either one of the first two rules are not fired. Only the third one does
------
# DEP_BASE is the full path to the depend files
# FILES are a list of tokens with no suffix

# depend files with full path
include $(patsubst %,$(DEP_BASE)/%.d,$(FILES))

#A pattern rulle
$(DEP_BASE)/%.d: %.cc
<create depend file>

# OR a static rule
$(DEP_FILES): $(DEP_BASE)/%.d: %cc
<create depend file>

# the only workaround is
define depend_template
$(DEP_BASE)/$(1).d: $(1).cc
<create depend file>
endef

$(foreach file,$(FILES),$(eval $(call depend_template,$(file))))

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 2 latest changes.

Date Changed By Updated Field Previous Value => Replaced By
Wed 07 Jan 2004 08:35:35 PM UTCpsmithStatusNone=>Not A Bug
  Open/ClosedOpen=>Closed

Back to the top


Powered by Savane 3.1-cleanup1