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

                 Summary: Make fails to glob lib/*.{o,a}
                 Project: make
            Submitted by: None
            Submitted on: Wed 23 Nov 2016 12:18:08 PM UTC
                Severity: 3 - Normal
              Item Group: Bug
                  Status: None
                 Privacy: Public
             Assigned to: None
             Open/Closed: Open
         Discussion Lock: Any
       Component Version: 4.1
        Operating System: POSIX-Based
           Fixed Release: None
           Triage Status: None

    _______________________________________________________

Details:

This is a regression from GNU make 4.0. The make target

clean:
        rm lib/*.{o,a}

fails to remove files lib/foo.o, lib/bar.o, and lib/libfoobar.a  because
lib/*.{o,a} does not glob lib/*.o and lib/*.a, as is its intention.

This is very different from how the shell globs things:
$ echo lib/*.{o,a}
lib/foo.o lib/bar.o lib/libfoobar.a

(Maybe related to http://savannah.gnu.org/bugs/index.php?18123)




    _______________________________________________________

Reply to this item at:

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

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


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

Reply via email to