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

diego subversion at mplayerhq.hu
Wed Mar 14 21:12:39 CET 2007


Author: diego
Date: Wed Mar 14 21:12:39 2007
New Revision: 22577

Modified:
   trunk/vidix/drivers/Makefile

Log:
Separate prerequisites and rules to avoid redundant rules.


Modified: trunk/vidix/drivers/Makefile
==============================================================================
--- trunk/vidix/drivers/Makefile	(original)
+++ trunk/vidix/drivers/Makefile	Wed Mar 14 21:12:39 2007
@@ -24,27 +24,18 @@ rage128_vid.o: radeon_vid.c
 sis_vid.so: sis_vid.o sis_bridge.o
 
 radeon_vid.so: radeon_vid.o
-	$(CC) -shared $< $(VIDIX_LIBS_X) -Wl,-soname,$@ -o $@
-
 rage128_vid.so: rage128_vid.o
+radeon_vid.so rage128_vid.so:
 	$(CC) -shared $< $(VIDIX_LIBS_X) -Wl,-soname,$@ -o $@
 
 cyberblade_vid.so: cyberblade_vid.o
-	$(CC) -shared $< $(VIDIX_LIBS_M) -Wl,-soname,$@ -o $@
-
 nvidia_vid.so: nvidia_vid.o
-	$(CC) -shared $< $(VIDIX_LIBS_M) -Wl,-soname,$@ -o $@
-
 mga_vid.so: mga_vid.o
-	$(CC) -shared $< $(VIDIX_LIBS_M) -Wl,-soname,$@ -o $@
-
 mga_crtc2_vid.so: mga_crtc2_vid.o
-	$(CC) -shared $< $(VIDIX_LIBS_M) -Wl,-soname,$@ -o $@
-
 unichrome_vid.so: unichrome_vid.o
-	$(CC) -shared $< $(VIDIX_LIBS_M) -Wl,-soname,$@ -o $@
-
 savage_vid.so: savage_vid.o
+cyberblade_vid.so nvidia_vid.so mga_vid.so mga_crtc2_vid.so unichrome_vid.so \
+savage_vid.so:
 	$(CC) -shared $< $(VIDIX_LIBS_M) -Wl,-soname,$@ -o $@
 
 clean:



More information about the MPlayer-cvslog mailing list