Mercurial > mplayer.hg
annotate vidix/Makefile @ 22543:1503d29ab0d1
Remove superfluous/obsolete rules and variables.
author | diego |
---|---|
date | Wed, 14 Mar 2007 08:37:34 +0000 |
parents | 909e1e707dc5 |
children | 22aee0fa42a4 |
rev | line source |
---|---|
3991 | 1 LIBNAME = libvidix.a |
2 | |
3 include ../config.mak | |
4 | |
5 SRCS = vidixlib.c | |
6 OBJS = $(SRCS:.c=.o) | |
7 | |
7073
b69ddd4d3bb9
removed -W -Wall -g and other gcc-specific warning/debug options
arpi
parents:
4030
diff
changeset
|
8 CFLAGS = $(OPTFLAGS) |
3991 | 9 |
21188 | 10 all: $(LIBNAME) do_drivers |
17958
ac071d4aafd2
Don't call make from shell constructs it prevent proper
albeu
parents:
17488
diff
changeset
|
11 |
ac071d4aafd2
Don't call make from shell constructs it prevent proper
albeu
parents:
17488
diff
changeset
|
12 do_drivers: |
ac071d4aafd2
Don't call make from shell constructs it prevent proper
albeu
parents:
17488
diff
changeset
|
13 $(MAKE) -C drivers |
4030 | 14 |
3991 | 15 $(LIBNAME): $(OBJS) |
16 $(AR) r $(LIBNAME) $(OBJS) | |
12632 | 17 $(RANLIB) $(LIBNAME) |
3991 | 18 |
19 clean: | |
20 rm -f *.o *.a *~ | |
17958
ac071d4aafd2
Don't call make from shell constructs it prevent proper
albeu
parents:
17488
diff
changeset
|
21 $(MAKE) -C drivers clean |
3991 | 22 |
17488
ce1ba8fd57e7
Make clean/distclean behave uniformly in all directories.
diego
parents:
13702
diff
changeset
|
23 distclean: clean |
ce1ba8fd57e7
Make clean/distclean behave uniformly in all directories.
diego
parents:
13702
diff
changeset
|
24 rm -f .depend test |
17958
ac071d4aafd2
Don't call make from shell constructs it prevent proper
albeu
parents:
17488
diff
changeset
|
25 $(MAKE) -C drivers distclean |
3991 | 26 |
21080 | 27 dep depend: |
3991 | 28 $(CC) -MM $(CFLAGS) $(SRCS) 1>.depend |
21080 | 29 $(MAKE) -C drivers depend |
3991 | 30 |
22342 | 31 -include .depend |