bugmake - Bugs: bug #17374, Static-pattern double-colon rules.

 
 

bug #17374: Static-pattern double-colon rules.

Submitter:  None
Submitted:  Tue 08 Aug 2006 07:00:57 PM UTC
   
 
Severity:  3 - Normal Item Group:  Enhancement
Status:  Not A Bug Privacy:  Public
Assigned to:  None Open/Closed:  Closed
Component Version:  3.81 Operating System:  Any
Fixed Release:  None Triage Status:  None
* Mandatory Fields

Add a New Comment Rich Markup
   

Tue 20 Sep 2022 05:47:01 AM UTC, comment #2: 

Somehow I missed this.  As mentioned back in 2008 this is already supported: you have to use the double-colon after the targets, not between the patterns.

Paul D. Smith <psmith>
Group administrator
Mon 03 Nov 2008 05:07:46 PM UTC, comment #1: 

Use

target:: %.tgt: %.src

instead of

target: %.tgt:: %.src

Anonymous
Tue 08 Aug 2006 07:00:57 PM UTC, original submission:  

I would like a way to write static-pattern double-colon rules.

For example:

a.tgt b.tgt: %.tgt:: %.src
         cp $< $@

will cause the error:
make: * No rule to make target `:', needed by `a.tgt'.  Stop.

when I try to 'make a.tgt'

The attached script will setup a basic environment to demonstrate the feature.

Anonymous

 

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

Attach Files:
   
   
Comment:
   

Attached Files
file #10490:  static_pattern_rules_for_double_colon.sh added by None (583B - text/x-sh - shell script to demonstrate the feature request)

 

Depends on the following items: None found

Items that depend on this one: None found

 

Carbon-Copy List
  • -email is unavailable- added by psmith (Posted a comment)
  •  

    There are 0 votes so far. Votes easily highlight which items people would like to see resolved in priority, independently of the priority of the item set by tracker managers.

    Only logged-in users can vote.

     

    Follow 3 latest changes.

    Date Changed by Updated Field Previous Value => Replaced by
    2022-09-20 psmith StatusNone Not A Bug
        Open/ClosedOpen Closed
    2006-08-08 None Attached File- Added static_pattern_rules_for_double_colon.sh, #10490

    Back to the top

    Powered by Savane 3.13-f8d8.
    Corresponding source code