aboutsummaryrefslogtreecommitdiffhomepage
path: root/vidix/drivers
diff options
context:
space:
mode:
authorGravatar diego <diego@b3059339-0415-0410-9bf9-f77b7e298cf2>2007-03-14 20:12:39 +0000
committerGravatar diego <diego@b3059339-0415-0410-9bf9-f77b7e298cf2>2007-03-14 20:12:39 +0000
commit81ed57ef37ec759133e21e6551a5ee133318c004 (patch)
tree295bf025abdeb44ace77c5c357d334acb9da41e5 /vidix/drivers
parentf7405ccd9063cc05bfa4832160f432c834c7b17e (diff)
Separate prerequisites and rules to avoid redundant rules.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@22577 b3059339-0415-0410-9bf9-f77b7e298cf2
Diffstat (limited to 'vidix/drivers')
-rw-r--r--vidix/drivers/Makefile15
1 files changed, 3 insertions, 12 deletions
diff --git a/vidix/drivers/Makefile b/vidix/drivers/Makefile
index ee70fb536c..32417da0f3 100644
--- a/vidix/drivers/Makefile
+++ b/vidix/drivers/Makefile
@@ -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: