comparison vidix/Makefile @ 22547:9193e4b4834f

cosmetics: Rename variables for consistency with other Makefiles.
author diego
date Wed, 14 Mar 2007 08:45:58 +0000
parents 322fed4ddef2
children 42bd84f21090
comparison
equal deleted inserted replaced
22546:322fed4ddef2 22547:9193e4b4834f
1 include ../config.mak 1 include ../config.mak
2 2
3 LIBNAME = libvidix.a 3 LIBNAME_MPLAYER = libvidix.a
4 4
5 SRCS = vidixlib.c 5 SRCS_MPLAYER = vidixlib.c
6 OBJS = $(SRCS:.c=.o) 6 OBJS_MPLAYER = $(SRCS_MPLAYER:.c=.o)
7 7
8 CFLAGS = $(OPTFLAGS) 8 CFLAGS = $(OPTFLAGS)
9 9
10 all: $(LIBNAME) 10 all: $(LIBNAME_MPLAYER)
11 $(MAKE) -C drivers 11 $(MAKE) -C drivers
12 12
13 $(LIBNAME): $(OBJS) 13 $(LIBNAME_MPLAYER): $(OBJS_MPLAYER)
14 $(AR) r $@ $^ 14 $(AR) r $@ $^
15 $(RANLIB) $@ 15 $(RANLIB) $@
16 16
17 clean: 17 clean:
18 rm -f *.o *.a *~ 18 rm -f *.o *.a *~
21 distclean: clean 21 distclean: clean
22 rm -f .depend test 22 rm -f .depend test
23 $(MAKE) -C drivers distclean 23 $(MAKE) -C drivers distclean
24 24
25 dep depend: 25 dep depend:
26 $(CC) -MM $(CFLAGS) $(SRCS) 1>.depend 26 $(CC) -MM $(CFLAGS) $(SRCS_MPLAYER) 1>.depend
27 $(MAKE) -C drivers depend 27 $(MAKE) -C drivers depend
28 28
29 -include .depend 29 -include .depend