bugmake - Bugs: bug #51278, Support for the specification of...

 
 

bug #51278: Support for the specification of special build properties together with each make rule

Submitted by:  Markus Elfring <elfring>
Submitted on:  Tue 20 Jun 2017 01:30:32 PM UTC  
 
Severity:  3 - Normal Item Group:  Enhancement
Status:  Wont Fix Privacy:  Public
Assigned to:  None Open/Closed:  Closed
Component Version:  4.2.1 Operating System:  Any
Fixed Release:  None Triage Status:  None

Add a New Comment (Rich Markup)
   

You are not logged in

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

 

Sun 02 Jul 2017 04:07:06 PM UTC, comment #2: 

> .SUFFIXES is an entirely different thing and doesn't belong on this list: it doesn't modify a target.


Is this target relevant for suffix rules?

>.SECONDEXPANSION is a boolean flag for the entire make process, it doesn't apply to specific targets.


I would appreciate if such a software detail can be adjusted anyhow.

> I think it's fine to have them specified on a separate line.


I imagine that it could be occasionally more appropriate to specify special make rule properties in the same line (at the beginning) so that the repetition of target names could be avoided.

Markus Elfring <elfring>
Sun 02 Jul 2017 03:48:45 PM UTC, comment #1: 

.SUFFIXES is an entirely different thing and doesn't belong on this list: it doesn't modify a target.

.SECONDEXPANSION is a boolean flag for the entire make process, it doesn't apply to specific targets.

I don't see any straightforward syntactic way to include the per-target special modifiers within the rule.  I think it's fine to have them specified on a separate line.

Paul D. Smith <psmith>
Project Administrator
Tue 20 Jun 2017 01:30:32 PM UTC, original submission:  

Special built-in target names are provided by the make software. Some of them have got special consequences on the handling of prerequisites and targets.

  • .PHONY
  • .SUFFIXES
  • .INTERMEDIATE
  • .SECONDEXPANSION

Such names provide an interface for the specification of additional software build properties which did not fit into traditional syntax for make rules.
I imagine that it can also become useful to specify desired extra build settings in front of each rule directly without repeating (special) target names.
How do you think about to add such a possibility?

Markus Elfring <elfring>

 

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

Attach Files:
   
   
Comment:
   

No files currently attached

 

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)
  • -email is unavailable- added by elfring (Submitted the item)
  •  

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

    Only logged-in users can vote.

     

     

     

    Follow 2 latest changes.

    Date Changed by Updated Field Previous Value => Replaced by
    2017-07-02 psmith StatusNone => Wont Fix
        Open/ClosedOpen => Closed

    Back to the top


    Powered by Savane 3.5