[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[bug #28426] make parses dependencies incorrectly

From: Ian Lynagh
Subject: [bug #28426] make parses dependencies incorrectly
Date: Mon, 28 Dec 2009 12:23:52 +0000
User-agent: Mozilla/5.0 (X11; U; Linux i686; en-GB; rv: Gecko/2009061212 Iceweasel/3.0.6 (Debian-3.0.6-1)


                 Summary: make parses dependencies incorrectly
                 Project: make
            Submitted by: igloo
            Submitted on: Mon 28 Dec 2009 12:23:51 GMT
                Severity: 3 - Normal
              Item Group: Bug
                  Status: None
                 Privacy: Public
             Assigned to: None
             Open/Closed: Open
         Discussion Lock: Any
       Component Version: CVS
        Operating System: Any
           Fixed Release: None
           Triage Status: None



With the Makefile attached (and also copied below for convenience), CVS make
parses the dependencies wrong:

$ make
General rule for: b
General rule for: bar
Special rule for foo\\, deps: b bar
Special rule for default, deps: foo\\

"b" should not be a dependency, however.

default: foo\\
        @echo 'Special rule for $@, deps: $^'

foo\\\\: bar
        @echo 'Special rule for $@, deps: $^'

        @echo 'General rule for: $@'


File Attachments:

Date: Mon 28 Dec 2009 12:23:51 GMT  Name: Makefile  Size: 143B   By: igloo



Reply to this item at:


  Message sent via/by Savannah

reply via email to

[Prev in Thread] Current Thread [Next in Thread]