summaryrefslogtreecommitdiffstats
path: root/vidix/Makefile
diff options
context:
space:
mode:
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/*~