2002-01-05 10:13:25 +00:00
|
|
|
include ../config.mak
|
|
|
|
|
2007-03-14 08:45:58 +00:00
|
|
|
LIBNAME_MPLAYER = libvidix.a
|
2007-03-14 08:44:16 +00:00
|
|
|
|
2007-03-14 08:45:58 +00:00
|
|
|
SRCS_MPLAYER = vidixlib.c
|
|
|
|
OBJS_MPLAYER = $(SRCS_MPLAYER:.c=.o)
|
2002-01-05 10:13:25 +00:00
|
|
|
|
2002-08-22 23:29:46 +00:00
|
|
|
CFLAGS = $(OPTFLAGS)
|
2002-01-05 10:13:25 +00:00
|
|
|
|
2007-03-14 08:45:58 +00:00
|
|
|
all: $(LIBNAME_MPLAYER)
|
2006-03-26 10:52:13 +00:00
|
|
|
$(MAKE) -C drivers
|
2002-01-07 09:28:22 +00:00
|
|
|
|
2007-03-14 08:45:58 +00:00
|
|
|
$(LIBNAME_MPLAYER): $(OBJS_MPLAYER)
|
2007-03-14 08:43:30 +00:00
|
|
|
$(AR) r $@ $^
|
|
|
|
$(RANLIB) $@
|
2002-01-05 10:13:25 +00:00
|
|
|
|
|
|
|
clean:
|
|
|
|
rm -f *.o *.a *~
|
2006-03-26 10:52:13 +00:00
|
|
|
$(MAKE) -C drivers clean
|
2002-01-05 10:13:25 +00:00
|
|
|
|
2006-01-27 00:06:42 +00:00
|
|
|
distclean: clean
|
2007-03-14 08:53:12 +00:00
|
|
|
rm -f .depend
|
2006-03-26 10:52:13 +00:00
|
|
|
$(MAKE) -C drivers distclean
|
2002-01-05 10:13:25 +00:00
|
|
|
|
2006-11-20 11:18:01 +00:00
|
|
|
dep depend:
|
2007-03-14 08:45:58 +00:00
|
|
|
$(CC) -MM $(CFLAGS) $(SRCS_MPLAYER) 1>.depend
|
2006-11-20 11:18:01 +00:00
|
|
|
$(MAKE) -C drivers depend
|
2002-01-05 10:13:25 +00:00
|
|
|
|
2007-02-27 17:04:46 +00:00
|
|
|
-include .depend
|