summaryrefslogtreecommitdiffstats
path: root/vidix/Makefile
diff options
context:
space:
mode:
authordiego <diego@b3059339-0415-0410-9bf9-f77b7e298cf2>2007-03-31 23:48:48 +0000
committerdiego <diego@b3059339-0415-0410-9bf9-f77b7e298cf2>2007-03-31 23:48:48 +0000
commitb6d1ff3eeca58a0b5493b2a06a0040d161986709 (patch)
tree9e8da08f30384e6822528d712d398c6588c32d4f /vidix/Makefile
parent332482d61b756fb3e36f60514d6d0ada79d7f914 (diff)
downloadmpv-b6d1ff3eeca58a0b5493b2a06a0040d161986709.tar.bz2
mpv-b6d1ff3eeca58a0b5493b2a06a0040d161986709.tar.xz
Merge all VIDIX drivers into libvidix.a.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@22867 b3059339-0415-0410-9bf9-f77b7e298cf2
Diffstat (limited to 'vidix/Makefile')
-rw-r--r--vidix/Makefile15
1 files changed, 14 insertions, 1 deletions
diff --git a/vidix/Makefile b/vidix/Makefile
index a73b4f4e1a..0ee4a8875d 100644
--- a/vidix/Makefile
+++ b/vidix/Makefile
@@ -2,6 +2,19 @@ include ../config.mak
LIBNAME_MPLAYER = libvidix.a
-SRCS_MPLAYER = vidixlib.c
+SRCS_MPLAYER = vidixlib.c \
+ $(wildcard drivers/*.c)
+
+OBJS_MPLAYER = drivers/mga_crtc2_vid.o \
+ drivers/rage128_vid.o \
include ../mpcommon.mak
+
+drivers/mga_crtc2_vid.o: drivers/mga_vid.c
+ $(CC) -c $(CFLAGS) -DCRTC2 -o $@ $<
+
+drivers/rage128_vid.o: drivers/radeon_vid.c
+ $(CC) -c $(CFLAGS) -DRAGE128 -o $@ $<
+
+clean::
+ rm -f drivers/*.o drivers/*~