Re: libgtk-dev bug?
I guess we should take this to private email?
Rob Browning <rlb@cs.utexas.edu> wrote:
> But you can't say:
>
> LIBFILES = x.o y.o z.o
>
> $LIBFILES: $(LIBFILES:.o=.c)
> build_lib
>
> LIBFILES = a.o b.o c.o
>
> $LIBFILES: $(LIBFILES:.o=.c)
> build_lib
Right, because at the top level make defines the order in which
things happen. So you wind up with something more like:
LIB1FILES = x.o y.o z.o
LIB1FILES: $(LIB1FILES:.o=.c)
make -f build_lib $(LIB1FILES)
LIB2FILES = x.o y.o z.o
LIB2FILES: $(LIB2FILES:.o=.c)
make -f build_lib $(LIB2FILES)
[But since you haven't indicated that these will go into a separate
library, they'll obviously wind up going into the same library, so
why bothering to build them with a separate target?]
--
Raul
--
To UNSUBSCRIBE, email to debian-devel-request@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org
Reply to: