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 - WishItem Group: Enhancement
Status: NonePrivacy: Public
Assigned to: NoneOpen/Closed: Open
Component Version: 3.79Operating System: Any
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.


 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 -unavailable-

Paul D. Smith <psmith>
Project Administrator


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

Attach File(s):

No files currently attached


Depends on the following items: None found

Items that depend on this one: None found


Carbon-Copy List
  • -unavailable- added by sevanath (Posted a comment)

    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):



    No Changes Have Been Made to This Item

    Back to the top

    Powered by Savane 3.1-cleanup1