Mercurial > mplayer.hg
annotate libmenu/Makefile @ 17671:7f3f86ed5409
fix bit specification for fixed_fps
author | ods15 |
---|---|
date | Fri, 24 Feb 2006 14:41:02 +0000 |
parents | ce1ba8fd57e7 |
children | c127ce678083 |
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 | |
17381
7af5fe0860a1
This patch cleans up OPTFLAGS in Gui, removes hardcoded -Wall from
rathann
parents:
12632
diff
changeset
|
13 CFLAGS = $(OPTFLAGS) -I. -I.. -I../libmpcodecs $(EXTRA_INC) |
8197 | 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) | |
12632 | 23 $(RANLIB) $(LIBNAME) |
8197 | 24 |
25 all: $(LIBNAME) | |
26 | |
27 clean: | |
28 rm -f *.o *.a *~ | |
29 | |
17488
ce1ba8fd57e7
Make clean/distclean behave uniformly in all directories.
diego
parents:
17381
diff
changeset
|
30 distclean: clean |
ce1ba8fd57e7
Make clean/distclean behave uniformly in all directories.
diego
parents:
17381
diff
changeset
|
31 rm -f .depend |
8197 | 32 |
33 dep: depend | |
34 | |
35 depend: | |
8623
440301fef3fe
Added/reordered #includes to silence warnings about "implicit declaration".
rathann
parents:
8224
diff
changeset
|
36 $(CC) -MM $(CFLAGS) $(FREETYPE_INC) $(SRCS) 1>.depend |
8197 | 37 |
38 # | |
39 # include dependency files if they exist | |
40 # | |
41 ifneq ($(wildcard .depend),) | |
42 include .depend | |
43 endif |