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/



_______________________________________________
Bug-make mailing list
Bug-make@gnu.org
http://lists.gnu.org/mailman/listinfo/bug-make

Reply via email to