annotate libmenu/Makefile @ 15158:d570dfbf9ef6

--Patch by Stefan '1stein' Schuermans <1stein@schuermans.info>: bugfix of the "grayscale" output scheme; the height and width of the movie were written als -1 and -1 into the resulting *.bml file
author rik
date Thu, 14 Apr 2005 12:44:28 +0000
parents 80973aa180a5
children 7af5fe0860a1
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
8197
b31caec933e9 OSD menus initial version
albeu
parents:
diff changeset
1
b31caec933e9 OSD menus initial version
albeu
parents:
diff changeset
2 include ../config.mak
b31caec933e9 OSD menus initial version
albeu
parents:
diff changeset
3
b31caec933e9 OSD menus initial version
albeu
parents:
diff changeset
4 LIBNAME = libmenu.a
b31caec933e9 OSD menus initial version
albeu
parents:
diff changeset
5
b31caec933e9 OSD menus initial version
albeu
parents:
diff changeset
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
b31caec933e9 OSD menus initial version
albeu
parents:
diff changeset
11 OBJS=$(SRCS:.c=.o)
b31caec933e9 OSD menus initial version
albeu
parents:
diff changeset
12
b31caec933e9 OSD menus initial version
albeu
parents:
diff changeset
13 CFLAGS = $(OPTFLAGS) -I. -I.. -I../libmpcodecs $(EXTRA_INC) -Wall
b31caec933e9 OSD menus initial version
albeu
parents:
diff changeset
14
b31caec933e9 OSD menus initial version
albeu
parents:
diff changeset
15 .SUFFIXES: .c .o
b31caec933e9 OSD menus initial version
albeu
parents:
diff changeset
16
b31caec933e9 OSD menus initial version
albeu
parents:
diff changeset
17
b31caec933e9 OSD menus initial version
albeu
parents:
diff changeset
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
b31caec933e9 OSD menus initial version
albeu
parents:
diff changeset
20
b31caec933e9 OSD menus initial version
albeu
parents:
diff changeset
21 $(LIBNAME): $(OBJS)
b31caec933e9 OSD menus initial version
albeu
parents:
diff changeset
22 $(AR) r $(LIBNAME) $(OBJS)
12632
80973aa180a5 ranlib cleanup by Dan Christiansen
alex
parents: 10791
diff changeset
23 $(RANLIB) $(LIBNAME)
8197
b31caec933e9 OSD menus initial version
albeu
parents:
diff changeset
24
b31caec933e9 OSD menus initial version
albeu
parents:
diff changeset
25 all: $(LIBNAME)
b31caec933e9 OSD menus initial version
albeu
parents:
diff changeset
26
b31caec933e9 OSD menus initial version
albeu
parents:
diff changeset
27 clean:
b31caec933e9 OSD menus initial version
albeu
parents:
diff changeset
28 rm -f *.o *.a *~
b31caec933e9 OSD menus initial version
albeu
parents:
diff changeset
29
b31caec933e9 OSD menus initial version
albeu
parents:
diff changeset
30 distclean:
b31caec933e9 OSD menus initial version
albeu
parents:
diff changeset
31 rm -f Makefile.bak *.o *.a *~ .depend
b31caec933e9 OSD menus initial version
albeu
parents:
diff changeset
32
b31caec933e9 OSD menus initial version
albeu
parents:
diff changeset
33 dep: depend
b31caec933e9 OSD menus initial version
albeu
parents:
diff changeset
34
b31caec933e9 OSD menus initial version
albeu
parents:
diff changeset
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
b31caec933e9 OSD menus initial version
albeu
parents:
diff changeset
37
b31caec933e9 OSD menus initial version
albeu
parents:
diff changeset
38 #
b31caec933e9 OSD menus initial version
albeu
parents:
diff changeset
39 # include dependency files if they exist
b31caec933e9 OSD menus initial version
albeu
parents:
diff changeset
40 #
b31caec933e9 OSD menus initial version
albeu
parents:
diff changeset
41 ifneq ($(wildcard .depend),)
b31caec933e9 OSD menus initial version
albeu
parents:
diff changeset
42 include .depend
b31caec933e9 OSD menus initial version
albeu
parents:
diff changeset
43 endif