On Fri, 2010-12-10 at 02:08 +0900, J. R. Okajima wrote:
> Hello all,
> 
> I got an error from make-3.82 with this makefile.
>       liba.a: liba.a(a.o b.o)
> make: *** No rule to make target `liba.a(a.o', needed by `liba.a'.  Stop.
> 
> The makefile had no error in make-3.81.
> Does the syntax change?
> 
> And if there are simple examples to build .a and .so, please let me
> know.

This has been fixed for the next release:

https://savannah.gnu.org/bugs/?30612

For now you can either get a patch and fix it in the source or else
split your prerequisites so they don't have multiple objects:

        liba.a: liba.a(a.o) liba.a(b.o)

Thanks for the report!


_______________________________________________
Help-make mailing list
[email protected]
http://lists.gnu.org/mailman/listinfo/help-make

Reply via email to