bug-make
[Top][All Lists]
Advanced

[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:1.9.0.11) Gecko/2009061212 Iceweasel/3.0.6 (Debian-3.0.6-1)

URL:
  <http://savannah.gnu.org/bugs/?28426>

                 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

    _______________________________________________________

Details:


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

<http://savannah.gnu.org/bugs/download.php?file_id=19382>

    _______________________________________________________

Reply to this item at:

  <http://savannah.gnu.org/bugs/?28426>

_______________________________________________
  Message sent via/by Savannah
  http://savannah.gnu.org/





reply via email to

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