On Tue, Mar 04, 2003 at 12:30:17AM -0600, Robert Boehne wrote:
> Wesley,
>
> IMHO, Libtool is better off if you change your clean rule to:
>
> clean:
> (cd main && libtool --mode=clean rm -f test test.o)
> (cd lib2 && libtool --mode=clean rm -f libb.la b.lo)
> (cd lib1 && libtoo
Wesley,
IMHO, Libtool is better off if you change your clean rule to:
clean:
(cd main && libtool --mode=clean rm -f test test.o)
(cd lib2 && libtool --mode=clean rm -f libb.la b.lo)
(cd lib1 && libtool --mode=clean rm -f liba.la a.lo)
HTH,
Robert
"Wesley W. Terpstra" wr
I have attached a small example tar.gz of this (obvious) bug.
cd test
make
make clean
... and it is not that clean. (it leaves .la and .a files in */.libs)
If you look at the commands libtool executes:
rm -f lib2/libb.la lib2/main/main/.libs/libb.al
lib2/main/main/.libs/libb.la