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

                 Summary: simple archive rules broken under make 3.82
                 Project: make
            Submitted by: vapier
            Submitted on: Sat 28 Aug 2010 10:23:19 PM GMT
                Severity: 3 - Normal
              Item Group: None
                  Status: None
                 Privacy: Public
             Assigned to: None
             Open/Closed: Open
         Discussion Lock: Any
       Component Version: None
        Operating System: None
           Fixed Release: None
           Triage Status: None

    _______________________________________________________

Details:

the simple makefile:
$ cat Makefile
FILES = boxdraw smbios console
OBJS = $(FILES:%=%.o)
libfoo.a: libfoo.a($(OBJS))

along with simple source files:
$ touch boxdraw.c smbios.c console.c

no longer works with make 3.82.  make 3.81 works fine.

$ make-3.81 -n
cc    -c -o boxdraw.o boxdraw.c
ar rv libfoo.a boxdraw.o
cc    -c -o smbios.o smbios.c
ar rv libfoo.a smbios.o
cc    -c -o console.o console.c
ar rv libfoo.a console.o
rm console.o smbios.o boxdraw.o

$ make-3.82 -n
make-3.82: *** No rule to make target `boxdraw.o)', needed by `libfoo.a'. 
Stop.

and depending on the contents of FILES, the error message may change slightly
(not sure if this matters):

$ make-3.82 -n FILES="boxdraw smbios"
make-3.82: *** No rule to make target `libfoo.a(boxdraw.o', needed by
`libfoo.a'.  Stop.




    _______________________________________________________

Reply to this item at:

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

_______________________________________________
  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