blob: 70f9d326d7540971f60a3e6ef58378664a3178f1 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
|
include ../config.mak
LIBNAME_MPLAYER = libvidix.a
SRCS_MPLAYER = vidixlib.c
OBJS_MPLAYER = $(SRCS_MPLAYER:.c=.o)
CFLAGS = $(OPTFLAGS)
all: $(LIBNAME_MPLAYER)
$(MAKE) -C drivers
$(LIBNAME_MPLAYER): $(OBJS_MPLAYER)
$(AR) r $@ $^
$(RANLIB) $@
clean:
rm -f *.o *.a *~
$(MAKE) -C drivers clean
distclean: clean
rm -f .depend
$(MAKE) -C drivers distclean
dep depend:
$(CC) -MM $(CFLAGS) $(SRCS_MPLAYER) 1>.depend
$(MAKE) -C drivers depend
-include .depend
|