annotate 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
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
22546
322fed4ddef2 consistency cosmetics
diego
parents: 22545
diff changeset
1 include ../config.mak
3991
dcc632dd2097 preliminary version
nick
parents:
diff changeset
2
22547
9193e4b4834f cosmetics: Rename variables for consistency with other Makefiles.
diego
parents: 22546
diff changeset
3 LIBNAME_MPLAYER = libvidix.a
3991
dcc632dd2097 preliminary version
nick
parents:
diff changeset
4
22547
9193e4b4834f cosmetics: Rename variables for consistency with other Makefiles.
diego
parents: 22546
diff changeset
5 SRCS_MPLAYER = vidixlib.c
9193e4b4834f cosmetics: Rename variables for consistency with other Makefiles.
diego
parents: 22546
diff changeset
6 OBJS_MPLAYER = $(SRCS_MPLAYER:.c=.o)
3991
dcc632dd2097 preliminary version
nick
parents:
diff changeset
7
7073
b69ddd4d3bb9 removed -W -Wall -g and other gcc-specific warning/debug options
arpi
parents: 4030
diff changeset
8 CFLAGS = $(OPTFLAGS)
3991
dcc632dd2097 preliminary version
nick
parents:
diff changeset
9
22547
9193e4b4834f cosmetics: Rename variables for consistency with other Makefiles.
diego
parents: 22546
diff changeset
10 all: $(LIBNAME_MPLAYER)
17958
ac071d4aafd2 Don't call make from shell constructs it prevent proper
albeu
parents: 17488
diff changeset
11 $(MAKE) -C drivers
4030
922241968c63 Embedding vidix
nick
parents: 3991
diff changeset
12
22547
9193e4b4834f cosmetics: Rename variables for consistency with other Makefiles.
diego
parents: 22546
diff changeset
13 $(LIBNAME_MPLAYER): $(OBJS_MPLAYER)
22545
effb4c7d9c1a Simplify library generation rule.
diego
parents: 22544
diff changeset
14 $(AR) r $@ $^
effb4c7d9c1a Simplify library generation rule.
diego
parents: 22544
diff changeset
15 $(RANLIB) $@
3991
dcc632dd2097 preliminary version
nick
parents:
diff changeset
16
dcc632dd2097 preliminary version
nick
parents:
diff changeset
17 clean:
dcc632dd2097 preliminary version
nick
parents:
diff changeset
18 rm -f *.o *.a *~
17958
ac071d4aafd2 Don't call make from shell constructs it prevent proper
albeu
parents: 17488
diff changeset
19 $(MAKE) -C drivers clean
3991
dcc632dd2097 preliminary version
nick
parents:
diff changeset
20
17488
ce1ba8fd57e7 Make clean/distclean behave uniformly in all directories.
diego
parents: 13702
diff changeset
21 distclean: clean
ce1ba8fd57e7 Make clean/distclean behave uniformly in all directories.
diego
parents: 13702
diff changeset
22 rm -f .depend test
17958
ac071d4aafd2 Don't call make from shell constructs it prevent proper
albeu
parents: 17488
diff changeset
23 $(MAKE) -C drivers distclean
3991
dcc632dd2097 preliminary version
nick
parents:
diff changeset
24
21080
618d1857f4c4 Unify dep/depend targets.
diego
parents: 17958
diff changeset
25 dep depend:
22547
9193e4b4834f cosmetics: Rename variables for consistency with other Makefiles.
diego
parents: 22546
diff changeset
26 $(CC) -MM $(CFLAGS) $(SRCS_MPLAYER) 1>.depend
21080
618d1857f4c4 Unify dep/depend targets.
diego
parents: 17958
diff changeset
27 $(MAKE) -C drivers depend
3991
dcc632dd2097 preliminary version
nick
parents:
diff changeset
28
22342
909e1e707dc5 Simplify .depend file inclusion.
diego
parents: 21334
diff changeset
29 -include .depend