Mercurial > mplayer.hg
annotate libmenu/Makefile @ 12167:6421ebfc0018
avoid unneeded stream_reset()
aspect ratio support (rarely works ...)
author, title, ...
author | michael |
---|---|
date | Sun, 11 Apr 2004 16:48:48 +0000 |
parents | fdf41cac41ac |
children | 80973aa180a5 |
rev | line source |
---|---|
8197 | 1 |
2 include ../config.mak | |
3 | |
4 LIBNAME = libmenu.a | |
5 | |
6 SRCS= menu.c vf_menu.c menu_cmdlist.c menu_pt.c menu_list.c menu_filesel.c menu_txt.c menu_console.c menu_param.c | |
10626
fd97f3727f15
Finnaly commit Nico's dvb menu. Sorry for committing this
albeu
parents:
8623
diff
changeset
|
7 ifeq ($(DVBIN),yes) |
fd97f3727f15
Finnaly commit Nico's dvb menu. Sorry for committing this
albeu
parents:
8623
diff
changeset
|
8 SRCS += menu_dvbin.c |
10791
fdf41cac41ac
libmenu is missing the dvb headers, patch by Gotz Waschk <waschk@informatik.uni-rostock.de>
alex
parents:
10626
diff
changeset
|
9 EXTRA_INC += $(DVB_INC) |
10626
fd97f3727f15
Finnaly commit Nico's dvb menu. Sorry for committing this
albeu
parents:
8623
diff
changeset
|
10 endif |
8197 | 11 OBJS=$(SRCS:.c=.o) |
12 | |
13 CFLAGS = $(OPTFLAGS) -I. -I.. -I../libmpcodecs $(EXTRA_INC) -Wall | |
14 | |
15 .SUFFIXES: .c .o | |
16 | |
17 | |
18 .c.o: | |
8224
fefc56153615
Fix freetype. Freetype is highly recommended for a nice output ;)
albeu
parents:
8197
diff
changeset
|
19 $(CC) -c $(CFLAGS) $(FREETYPE_INC) -o $@ $< |
8197 | 20 |
21 $(LIBNAME): $(OBJS) | |
22 $(AR) r $(LIBNAME) $(OBJS) | |
23 | |
24 all: $(LIBNAME) | |
25 | |
26 clean: | |
27 rm -f *.o *.a *~ | |
28 | |
29 distclean: | |
30 rm -f Makefile.bak *.o *.a *~ .depend | |
31 | |
32 dep: depend | |
33 | |
34 depend: | |
8623
440301fef3fe
Added/reordered #includes to silence warnings about "implicit declaration".
rathann
parents:
8224
diff
changeset
|
35 $(CC) -MM $(CFLAGS) $(FREETYPE_INC) $(SRCS) 1>.depend |
8197 | 36 |
37 # | |
38 # include dependency files if they exist | |
39 # | |
40 ifneq ($(wildcard .depend),) | |
41 include .depend | |
42 endif |