Mercurial > mplayer.hg
annotate libmenu/Makefile @ 10693:7cf006b5a61c
sync
author | nauj27 |
---|---|
date | Mon, 25 Aug 2003 13:45:45 +0000 |
parents | fd97f3727f15 |
children | fdf41cac41ac |
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 |
fd97f3727f15
Finnaly commit Nico's dvb menu. Sorry for committing this
albeu
parents:
8623
diff
changeset
|
9 endif |
8197 | 10 OBJS=$(SRCS:.c=.o) |
11 | |
12 CFLAGS = $(OPTFLAGS) -I. -I.. -I../libmpcodecs $(EXTRA_INC) -Wall | |
13 | |
14 .SUFFIXES: .c .o | |
15 | |
16 | |
17 .c.o: | |
8224
fefc56153615
Fix freetype. Freetype is highly recommended for a nice output ;)
albeu
parents:
8197
diff
changeset
|
18 $(CC) -c $(CFLAGS) $(FREETYPE_INC) -o $@ $< |
8197 | 19 |
20 $(LIBNAME): $(OBJS) | |
21 $(AR) r $(LIBNAME) $(OBJS) | |
22 | |
23 all: $(LIBNAME) | |
24 | |
25 clean: | |
26 rm -f *.o *.a *~ | |
27 | |
28 distclean: | |
29 rm -f Makefile.bak *.o *.a *~ .depend | |
30 | |
31 dep: depend | |
32 | |
33 depend: | |
8623
440301fef3fe
Added/reordered #includes to silence warnings about "implicit declaration".
rathann
parents:
8224
diff
changeset
|
34 $(CC) -MM $(CFLAGS) $(FREETYPE_INC) $(SRCS) 1>.depend |
8197 | 35 |
36 # | |
37 # include dependency files if they exist | |
38 # | |
39 ifneq ($(wildcard .depend),) | |
40 include .depend | |
41 endif |