bugmake - Bugs: bug #109, Add "optional"...


bug #109: Add "optional" prerequisite capability to gmake

Submitted by:  Paul D. Smith <psmith>
Submitted on:  Sat 20 Apr 2002 08:56:02 PM UTC  
Severity:  1 - Wish Item Group:  Enhancement
Status:  None Privacy:  Public
Assigned to:  None Open/Closed:  Open
Component Version:  3.79 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.


  Spam posted by sevanath
Sat 20 Apr 2002 08:56:02 PM UTC, original submission:  

It would really help out a Synopsys synthesis environment that I'm developing (and I would think the gmake community at large) if gmake had an "optional" prerequisite capability. I would suggest the following format:

    target : prerep1 prereq2 [opt_prereq1] [opt_prerep2]

Gmake would treat an optional prereq like this:

  • If the optional prereq can be created via a rule, create the optional prereq and treat it like a normal prerep. If the prerep is newer than the target, the target is out of date.
  • If the optional prereq cannot be created via a rule, don't complain. Instead, procede as normal as if the optional prereq was not part of the target rule.

Reported via GNATS by -email is unavailable-

Paul D. Smith <psmith>
Project Administrator


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

Attach Files:

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 sevanath (Posted a comment)

    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.




    No changes have been made to this item

    Back to the top

    Powered by Savane 3.7