summaryrefslogtreecommitdiffstats
path: root/vidix
diff options
context:
space:
mode:
authordiego <diego@b3059339-0415-0410-9bf9-f77b7e298cf2>2006-08-24 01:01:37 +0000
committerdiego <diego@b3059339-0415-0410-9bf9-f77b7e298cf2>2006-08-24 01:01:37 +0000
commitfffeb2311b478da7bf357c8280863148f9a244be (patch)
treea8fafad1277d7fc4747d581902a029df4215664b /vidix
parentce3eff42d27d12640486c8f9dcfa3b1ce80241ba (diff)
downloadmpv-fffeb2311b478da7bf357c8280863148f9a244be.tar.bz2
mpv-fffeb2311b478da7bf357c8280863148f9a244be.tar.xz
cosmetics: Reorder some rules.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@19522 b3059339-0415-0410-9bf9-f77b7e298cf2
Diffstat (limited to 'vidix')
-rw-r--r--vidix/drivers/Makefile21
1 files changed, 10 insertions, 11 deletions
diff --git a/vidix/drivers/Makefile b/vidix/drivers/Makefile
index b6a6bd9fbe..0b1956f8ad 100644
--- a/vidix/drivers/Makefile
+++ b/vidix/drivers/Makefile
@@ -9,7 +9,6 @@ VIDIX_LIBS_X = $(VIDIX_LIBS_M) $(X_LIB)
VIDIX_CFLAGS=-fPIC -I. -I.. $(OPTFLAGS)
RAGE128_CFLAGS=$(VIDIX_CFLAGS) -DRAGE128
-
MGA_CRTC2_CFLAGS=$(VIDIX_CFLAGS) -DCRTC2
all: cyberblade_vid.so radeon_vid.so rage128_vid.so mach64_vid.so \
@@ -27,32 +26,32 @@ all: cyberblade_vid.so radeon_vid.so rage128_vid.so mach64_vid.so \
%.so: %.o
$(CC) -shared $^ $(VIDIX_LIBS) -Wl,-soname,$@ -o $@
-cyberblade_vid.so: cyberblade_vid.o
- $(CC) -shared $< $(VIDIX_LIBS_M) -Wl,-soname,$@ -o $@
-
-radeon_vid.so: radeon_vid.o
- $(CC) -shared $< $(VIDIX_LIBS_X) -Wl,-soname,$@ -o $@
+mga_crtc2_vid.o: mga_vid.c
+ $(CC) -c $(MGA_CRTC2_CFLAGS) -o $@ $<
rage128_vid.o: radeon_vid.c
$(CC) -c $(RAGE128_CFLAGS) -o $@ $<
+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
$(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.o: mga_vid.c
- $(CC) -c $(MGA_CRTC2_CFLAGS) -o $@ $<
-
mga_crtc2_vid.so: mga_crtc2_vid.o
$(CC) -shared $< $(VIDIX_LIBS_M) -Wl,-soname,$@ -o $@
-sis_vid.so: sis_vid.o sis_bridge.o
-
unichrome_vid.so: unichrome_vid.o
$(CC) -shared $< $(VIDIX_LIBS_M) -Wl,-soname,$@ -o $@