Mercurial > mplayer.hg
annotate libmenu/Makefile @ 19411:45cfff547dbb
consistency cosmetics: Add -DNOAVIFILE_HEADERS to CFLAGS instead of to INCLUDE.
author | diego |
---|---|
date | Wed, 16 Aug 2006 21:01:29 +0000 |
parents | 1ea5c31932fd |
children | 4f71ed7cb512 |
rev | line source |
---|---|
8197 | 1 |
2 include ../config.mak | |
3 | |
4 LIBNAME = libmenu.a | |
5 | |
17943
c127ce678083
cosmetics: Shorten overly long lines, put SRCS/OBJS on individual lines
diego
parents:
17488
diff
changeset
|
6 SRCS= menu.c \ |
c127ce678083
cosmetics: Shorten overly long lines, put SRCS/OBJS on individual lines
diego
parents:
17488
diff
changeset
|
7 vf_menu.c \ |
c127ce678083
cosmetics: Shorten overly long lines, put SRCS/OBJS on individual lines
diego
parents:
17488
diff
changeset
|
8 menu_cmdlist.c \ |
c127ce678083
cosmetics: Shorten overly long lines, put SRCS/OBJS on individual lines
diego
parents:
17488
diff
changeset
|
9 menu_pt.c \ |
c127ce678083
cosmetics: Shorten overly long lines, put SRCS/OBJS on individual lines
diego
parents:
17488
diff
changeset
|
10 menu_list.c \ |
c127ce678083
cosmetics: Shorten overly long lines, put SRCS/OBJS on individual lines
diego
parents:
17488
diff
changeset
|
11 menu_filesel.c \ |
c127ce678083
cosmetics: Shorten overly long lines, put SRCS/OBJS on individual lines
diego
parents:
17488
diff
changeset
|
12 menu_txt.c \ |
c127ce678083
cosmetics: Shorten overly long lines, put SRCS/OBJS on individual lines
diego
parents:
17488
diff
changeset
|
13 menu_console.c \ |
c127ce678083
cosmetics: Shorten overly long lines, put SRCS/OBJS on individual lines
diego
parents:
17488
diff
changeset
|
14 menu_param.c \ |
c127ce678083
cosmetics: Shorten overly long lines, put SRCS/OBJS on individual lines
diego
parents:
17488
diff
changeset
|
15 |
10626
fd97f3727f15
Finnaly commit Nico's dvb menu. Sorry for committing this
albeu
parents:
8623
diff
changeset
|
16 ifeq ($(DVBIN),yes) |
fd97f3727f15
Finnaly commit Nico's dvb menu. Sorry for committing this
albeu
parents:
8623
diff
changeset
|
17 SRCS += menu_dvbin.c |
fd97f3727f15
Finnaly commit Nico's dvb menu. Sorry for committing this
albeu
parents:
8623
diff
changeset
|
18 endif |
8197 | 19 OBJS=$(SRCS:.c=.o) |
20 | |
19190 | 21 CFLAGS = $(OPTFLAGS) -I. -I.. -I../libmpcodecs |
8197 | 22 |
23 .SUFFIXES: .c .o | |
24 | |
25 | |
26 .c.o: | |
19049 | 27 $(CC) -c $(CFLAGS) -o $@ $< |
8197 | 28 |
29 $(LIBNAME): $(OBJS) | |
30 $(AR) r $(LIBNAME) $(OBJS) | |
12632 | 31 $(RANLIB) $(LIBNAME) |
8197 | 32 |
33 all: $(LIBNAME) | |
34 | |
35 clean: | |
36 rm -f *.o *.a *~ | |
37 | |
17488
ce1ba8fd57e7
Make clean/distclean behave uniformly in all directories.
diego
parents:
17381
diff
changeset
|
38 distclean: clean |
ce1ba8fd57e7
Make clean/distclean behave uniformly in all directories.
diego
parents:
17381
diff
changeset
|
39 rm -f .depend |
8197 | 40 |
41 dep: depend | |
42 | |
43 depend: | |
19049 | 44 $(CC) -MM $(CFLAGS) $(SRCS) 1>.depend |
8197 | 45 |
46 # | |
47 # include dependency files if they exist | |
48 # | |
49 ifneq ($(wildcard .depend),) | |
50 include .depend | |
51 endif |