Andy Dougherty wrote:
>
> On Tue, 1 Jul 2003, Leopold Toetsch wrote:
>
> > Andy Dougherty <[EMAIL PROTECTED]> wrote:
> > > On Mon, 30 Jun 2003, Leopold Toetsch wrote:
> >
> > >> Attached is a minimum patch to build imcc as the parrot executable
> >
> > > languages/imcc/*.o
> >
> > > languages/imcc/*.o doesn't match anything
> >
> > Brain dead make?
>
> No. Here's the same result with GNU make:
>
> gmake: *** No rule to make target `languages/imcc/*.o', needed by
> `languages/imcc/imcc'. Stop.
>
> The problem is that with a clean build tree, there are no *.o files
> down in languages/imcc/ at the point when that target is reached.
> Hence make doesn't have anything to expand *.o as, and quite reasonably
> complains. If, however, there is even a single .o file in that
> directory, then the wildcard is expanded as you'd expect and the make
> proceeds.
Hmm... would it be possible/reasonable to do:
IMCCSRCS = languages/imcc/*.c
IMCCOBJS = $(IMCCSRCS:.c=.o)
and then use $(IMCCOBJS) in place of languages/imcc/*.o ?
Obviously, we're never going to not have any .c files :)
--
$a=24;split//,240513;s/\B/ => /for@@=qw(ac ab bc ba cb ca
);{push(@b,$a),($a-=6)^=1 for 2..$a/6x--$|;print "[EMAIL PROTECTED]
]\n";((6<=($a-=6))?$a+=$_[$a%6]-$a%6:($a=pop @b))&&redo;}