[MPlayer-cvslog] r19513 - trunk/vidix/drivers/Makefile

Diego Biurrun diego at biurrun.de
Wed Aug 23 16:33:24 CEST 2006


On Wed, Aug 23, 2006 at 03:00:28PM +0200, Reimar Döffinger wrote:
> 
> don't know much about Makefiles, but...
> 
> On Wed, Aug 23, 2006 at 12:48:26PM +0200, diego wrote:
> >  $(CYBERBLADE_VID):     $(CYBERBLADE_OBJS)
> > -	$(CC) -shared $(CYBERBLADE_OBJS) $(CYBERBLADE_LIBS) -Wl,-soname,$(CYBERBLADE_VID) -o $(CYBERBLADE_VID)
> > +	$(CC) -shared $< $(CYBERBLADE_LIBS) -Wl,-soname,$@ -o $@
> 
> If I understand the documentation correctly, $< will only work if
> CYBERBLADE_OBJS contains only one entry.

Yes, $< is only the first prerequisite.

> How about either renaming it to CYBERBLADE_OBJ or using $^ instead?

$^ is the way to go.  But then again I have more changes for that
Makefile in store, it seems to have been an exercise in redundancy ...

Diego



More information about the MPlayer-cvslog mailing list