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

diego subversion at mplayerhq.hu
Thu Aug 24 02:54:52 CEST 2006


Author: diego
Date: Thu Aug 24 02:54:52 2006
New Revision: 19521

Modified:
   trunk/vidix/drivers/Makefile

Log:
Adapt .so pattern rule for more than one object file.


Modified: trunk/vidix/drivers/Makefile
==============================================================================
--- trunk/vidix/drivers/Makefile	(original)
+++ trunk/vidix/drivers/Makefile	Thu Aug 24 02:54:52 2006
@@ -25,7 +25,7 @@
 	$(CC) -c $(VIDIX_CFLAGS) -o $@ $<
 
 %.so: %.o
-	$(CC) -shared $< $(VIDIX_LIBS) -Wl,-soname,$@ -o $@
+	$(CC) -shared $^ $(VIDIX_LIBS) -Wl,-soname,$@ -o $@
 
 cyberblade_vid.so: cyberblade_vid.o
 	$(CC) -shared $< $(VIDIX_LIBS_M) -Wl,-soname,$@ -o $@
@@ -52,7 +52,6 @@
 	$(CC) -shared $< $(VIDIX_LIBS_M) -Wl,-soname,$@ -o $@
 
 sis_vid.so: sis_vid.o sis_bridge.o
-	$(CC) -shared $^ $(VIDIX_LIBS) -Wl,-soname,$@ -o $@
 
 unichrome_vid.so: unichrome_vid.o
 	$(CC) -shared $< $(VIDIX_LIBS_M) -Wl,-soname,$@ -o $@



More information about the MPlayer-cvslog mailing list