annotate libmenu/Makefile @ 19405:0797e1b4a4be

Replace stdint.h with inttypes.h.
author eugeni
date Tue, 15 Aug 2006 22:46:56 +0000
parents 1ea5c31932fd
children 4f71ed7cb512
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
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
b31caec933e9 OSD menus initial version
albeu
parents:
diff changeset
19 OBJS=$(SRCS:.c=.o)
b31caec933e9 OSD menus initial version
albeu
parents:
diff changeset
20
19190
1ea5c31932fd Unify include paths in the build system, part I.
diego
parents: 19049
diff changeset
21 CFLAGS = $(OPTFLAGS) -I. -I.. -I../libmpcodecs
8197
b31caec933e9 OSD menus initial version
albeu
parents:
diff changeset
22
b31caec933e9 OSD menus initial version
albeu
parents:
diff changeset
23 .SUFFIXES: .c .o
b31caec933e9 OSD menus initial version
albeu
parents:
diff changeset
24
b31caec933e9 OSD menus initial version
albeu
parents:
diff changeset
25
b31caec933e9 OSD menus initial version
albeu
parents:
diff changeset
26 .c.o:
19049
c0d96b4ff0af Simplify includes.
diego
parents: 19037
diff changeset
27 $(CC) -c $(CFLAGS) -o $@ $<
8197
b31caec933e9 OSD menus initial version
albeu
parents:
diff changeset
28
b31caec933e9 OSD menus initial version
albeu
parents:
diff changeset
29 $(LIBNAME): $(OBJS)
b31caec933e9 OSD menus initial version
albeu
parents:
diff changeset
30 $(AR) r $(LIBNAME) $(OBJS)
12632
80973aa180a5 ranlib cleanup by Dan Christiansen
alex
parents: 10791
diff changeset
31 $(RANLIB) $(LIBNAME)
8197
b31caec933e9 OSD menus initial version
albeu
parents:
diff changeset
32
b31caec933e9 OSD menus initial version
albeu
parents:
diff changeset
33 all: $(LIBNAME)
b31caec933e9 OSD menus initial version
albeu
parents:
diff changeset
34
b31caec933e9 OSD menus initial version
albeu
parents:
diff changeset
35 clean:
b31caec933e9 OSD menus initial version
albeu
parents:
diff changeset
36 rm -f *.o *.a *~
b31caec933e9 OSD menus initial version
albeu
parents:
diff changeset
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
b31caec933e9 OSD menus initial version
albeu
parents:
diff changeset
40
b31caec933e9 OSD menus initial version
albeu
parents:
diff changeset
41 dep: depend
b31caec933e9 OSD menus initial version
albeu
parents:
diff changeset
42
b31caec933e9 OSD menus initial version
albeu
parents:
diff changeset
43 depend:
19049
c0d96b4ff0af Simplify includes.
diego
parents: 19037
diff changeset
44 $(CC) -MM $(CFLAGS) $(SRCS) 1>.depend
8197
b31caec933e9 OSD menus initial version
albeu
parents:
diff changeset
45
b31caec933e9 OSD menus initial version
albeu
parents:
diff changeset
46 #
b31caec933e9 OSD menus initial version
albeu
parents:
diff changeset
47 # include dependency files if they exist
b31caec933e9 OSD menus initial version
albeu
parents:
diff changeset
48 #
b31caec933e9 OSD menus initial version
albeu
parents:
diff changeset
49 ifneq ($(wildcard .depend),)
b31caec933e9 OSD menus initial version
albeu
parents:
diff changeset
50 include .depend
b31caec933e9 OSD menus initial version
albeu
parents:
diff changeset
51 endif