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


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

Submitter:  Paul D. Smith <psmith>
Submitted:  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
* Mandatory Fields

Add a New Comment Rich Markup

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

    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.


    No changes have been made to this item

    Back to the top

    Powered by Savane 3.13-4b48.
    Corresponding source code